What can I put in the body of this constructor to make the constructor display my properties?

Computer Science
Tutor: None Selected Time limit: 1 Day

THIS IS JAVA PROGRAMMING

public Coose(int CourseID, String CourseName, String Description, int CreditHours) {

}//end 

May 4th, 2015

Constructor use to intalize  or assign the value to your class variable.

Constructor create the object of class when called.

public Coose(int CourseID, String CourseName, String Description, int CreditHours) {

this.CourseID = CourseID;

this.CourseName = CourseName;

this.Description = Description;

this.CreditHours = CreditHours;

}//end

To write the above body you must have declared the variable which you want to initialize.

Thanks

May 4th, 2015

Studypool's Notebank makes it easy to buy and sell old notes, study guides, reviews, etc.
Click to visit
The Notebank
...
May 4th, 2015
...
May 4th, 2015
Feb 21st, 2017
check_circle
Mark as Final Answer
check_circle
Unmark as Final Answer
check_circle
Final Answer

Secure Information

Content will be erased after question is completed.

check_circle
Final Answer