24 solutions available
Question 1Write a short note on Object Oriented Programming.
Question 2Explain the phrase, "Everything is an object".
Question 3What are the characteristics of object-oriented programming?
Question 4What are the limitations of object-oriented programming?
Question 5What do you mean by Abstraction? Give suitable examples.
Question 6Explain the term Encapsulation using appropriate examples.
Question 7What are the characteristics of procedural programming?
Question 8What are the limitations of procedural programming?
Question 9Provide real-life examples to explain the term, Inheritance.
Question 10Polymorphism means different forms. Explain Polymorphism in Java and provide examples to support your answer.
Question 11Explain the difference between Inheritance and Encapsulation with suitable examples.
Question 12What are the differences between Procedural Programming and Object-oriented Programming?
Question 13What are objects? Give five examples.
Question 14Explain the following statement — "Class is a specification for objects".
Question 15Explain the following statement — "Abstraction is relative to the perspective of the viewer".
Question 16Mention five possible attributes and three possible behaviours of the following entities:i. Employee
Question 17Explain in detail how a class is different from an object.
Question 18Give the reason why a class is known as:i. An object factory
Question 19How are classes and objects inter-related? Support your answer with an example.
Question 20What do you understand by the phrase, "Objects encapsulate state and behaviour"?
Question 21How do objects communicate with each other? Explain.
Question 22If ClassA inherits from ClassB, which is a superclass? Which is a subclass?
Question 23What are the other names for superclass and subclass?
Question 24If we have Student, Graduate, and PostGraduate classes, which one will be the superclass?