It would be very useful for us if you post your code, also please use code tag while posting it.
According to your error i can assume following possibilities..
A) you did not defined constructor of a class which takes String as a argument.
B) you defined one method which has same name as a class but do not follow signature of constructor. It should be like as follows
public Course(String args)