0

Difference between default constructor and no argument constructor in java

19th Apr 2017, 11:52 AM
hAdiA rAshId
hAdiA rAshId - avatar
2 odpowiedzi
+ 5
They are the same. When an object is instantiated if has no constructor declared Java creates an empty (default) constructor with no arguments.
19th Apr 2017, 10:15 PM
Ismail
Ismail - avatar