Tuesday, November 29, 2011

What are the differences between Contructors and Methods?

Constructors Methods:Constructors are invoked using the new keyword. Methods can be invoked by using the dot operator on the object of the class.
Category:Core Java Interview Questions

No comments:

Post a Comment