When may a constructor be called without specifying arguments?
Answers
Answered by
5
am trying to build a class with a constructor, mutators and accessors. Reading through books and online, I am made to learn that you can call a constructor with or without parameters. However, my case below seems not to work. I am not even able to compile without errors. It works when I use student jane = new student(""). What am I doing wrong?
Answered by
0
Explanation:
When may a constructor be called without specifying arguments?
Similar questions