0

If we create an object of a class in java then does it automatically call all its methods?

18th Dec 2016, 4:58 PM
Programmer
Programmer - avatar
2 Answers
+ 1
No, only constructor is called when a object of a class is created
18th Dec 2016, 5:01 PM
Ravi Kumar
Ravi Kumar - avatar
0
Can you please check the program given under polymorphism in java course
18th Dec 2016, 5:05 PM
Programmer
Programmer - avatar