Answer Posted / reza
Yes, class is an object but an object is not a class.
We can compare class with a factory and object with product.
A factory can be a product of another factory; but a
product can not be a factory.
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
Explain what a method is?
Explain about encapsulation?
What are the types of polymorphism?
What is the difference between an Abstract class and Interface?
What is the best tool for modeling and ORM framework
Is it possible to create partial structs, interfaces and methods?
What does the “abstract” keyword mean in front of a method? A class?
What's the main difference between arraylist / hashmap and vector / hashtable?
What if we make the method as abstract in another interface?
What is a default method? Why do we need default methods in java 8 interfaces?
Why are outlet connections required in object-oriented programming?
What are different types of arguments?
How can I be thrown polymorphically?
What do you mean by operator overloading?
Name some languages which have object oriented language and characteristics?