difference between class and object
Answer Posted / pradeep kumar shukla
class is a reserved keyword to create user define data type
class is a machanism to create abstract, customize data type
object is a collection of variable ,an object made at run time
it is instance of class
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is object and example?
IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?
class type to basic type conversion
What is abstraction example?
What is multilevel inheritance?
What is for loop and its syntax?
What is the point of oop?
What is pointer in oop?
Can main method override?
What is coupling in oops?
How does polymorphism work?
Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)
What is the highest level of cohesion?
What are objects in oop?
What is difference between inheritance and polymorphism?