0
what is the difference between object, class and method. can someone explain with analogy
object/class/method
5 Answers
+ 1
object is an instance of a class. and with methods you can specify specific things like movement of an animal in the animal class.
www.programmerinterview.com/index.php/java-questions/difference-between-object-and-class/
+ 1
its just a question. you dont need to get angry or something. we are here to learn and get help from other learners. so lets respect each other and help each other even if you think the question is stupid. to me a question is never stupid.
0
to see more detailed explanation go to the site.
0
thanks neeraj...hope ur not the admin...I got answer from seyfullah...u don't worry
0
class contains the method and object is used to access that particular method dependind upon the visibility mode selected for method