What is difference between class and object with example?
Class is the design of a any program structure with name, variables and methods included in it as a group. When any class gets executed at runtime it gets object created equivalently. Such as when a class name is tree, the object it gets created as , tree of any type. if pen is a class, then the object of pen can be, few we name it..
| Is This Answer Correct ? | 0 Yes | 0 No |
what is the difference b/w abstract and interface?
2 Answers Merrill Lynch, Schneider, Scio Healthcare,
What is encapsulation in ict?
What is a friend function & its advantage?
What are the main differences between procedure oriented languages and object oriented languages?
9 Answers IBM, Infosys, Wipro,
Have you ever interfaced with a database?
Why is polymorphism used?
1234554321 1234 4321 123 321 12 21 1 1 12 21 123 321 1234 4321 1234554321
what is the diffrence between c# and c++
What are the advantages of polymorphism?
What is multilevel inheritance in oop?
Why many objects can working together? How objects working togetherM I want to see example code.
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer