Answer Posted / vasir
Class is not an object. An object is an entity that is
allocated memory during runtime to do certain operation
whereas Class is just a skeleton or representation of the
object. We say design a class and not create a class. We
can only design a class ( attributes and behaviour ).
In brief we can say class is a Type of an object.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Why do we use oops concepts? What is its advantage?
What is the base type from which all structs inherit directly?
What are the rules to define a functional interface?
Why does java not support multiple inheritance?
What is static and dynamic Binding?
What is the super keyword?
What is inheritance in java?
Difference between abstraction and implementation hiding ?
What is the difference between class and interface?
Name some languages which have object oriented language and characteristics?
What is Polymorphism, overloading, overriding and virtual?
What are the different types of arguments?
State two differences between an object and a class.
Explain about the analysis phase?
Does PowerShell support OOPs?