Difference between object and classThere are many differences between object and class. A list of differences between object and class are given below:
Let's see some real life example of class and object in java to understand the difference well: Class: Human Object: Man, Woman Class: Fruit Object: Apple, Banana, Mango, Guava wtc. Class: Mobile phone Object: iPhone, Samsung, Moto Class: Food Object: Pizza, Burger, Samosa Next TopicMethod Overloading vs Method Overriding |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India