What is the difference between class and object?
Answer Posted / neha
classes and objects are seprate but related concept.every
object belong to a class and every class contains one or
more objects.
Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }
What is polymorphism give a real life example?
Can enum be null?
What is polymorphism oop?
What is an advantage of polymorphism?
What is the difference between a mixin and inheritance?
Can static class have constructor?
Why is oop useful?
What are the important components of cohesion?
Why is abstraction needed?
What are two types of polymorphism?
What is encapsulation in simple terms?
write a C++ program for booking using constructor and destructor.
Can main method override?
#include