What is the difference between class and object?
Answer Posted / johncz
Class is a template for the custom type that can be used as
variable. It defines types of data that class contains and
the set of functions to manipulate those data types. It is
just a recipe to be used when class is instantiated.
Object is an entity created using class template. Such an
object occupies computer’s memory. Each object of the class
is independent entity.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are oops methods?
What is encapsulation in oops?
I have One image (means a group photo ) how to split the faces only from the image?............ please send the answer nagadurgaraju@gmail.com thanks in advace...
• What are the desirable attributes for memory managment?
Can we create object of abstract class?
What is multilevel inheritance in oop?
What language is oop?
What is polymorphism in oops with example?
What is class encapsulation?
Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box
What is the types of inheritance?
write a program that takes input in digits and display the result in words from 1 to 1000
Why is polymorphism used?
What is the real life example of polymorphism?
What is the use of oops?