difference between class and object
Answer Posted / rajdeep gupta
class in a keyword to create user define data type.it is
only on logical perception .it is collection of similar
types of variable.
object is a variable of class type .there is no meaning of
class without creating object.object is made at run time on
the heap portion of ram
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is overloading and its types?
What is overriding in oop?
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
What is object-oriented programming? Webopedia definition
INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?
What is polymorphism explain its types?
What is use of overloading?
What are objects in oop?
What is protected in oop?
write string class as your own class in java without using any built-in function
What are the important components of cohesion?
What does and I oop mean in text?
What is overloading in oops?
What makes a language oop?
What is polymorphism programming?