Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Section B- Indicate TRUE or FALSE for the following statements: (i) A subclass is a subset of a superclass. (i) The private members of a

image text in transcribed

Section B- Indicate TRUE or FALSE for the following statements: (i) A subclass is a subset of a superclass. (i) The private members of a superclass can directly access by the subclass (iii) An instance of a subclass is always an instance ofa superclass. (iv) A final method in a superclass can be overridden. (v) A subclass cannot override methods that are declared static in the superclass. (vi) Polymorphism is the technique of using the different method name to indicate different implementations. A subclass inherits all the data and methods of its superclass, except the private ones When you create any subclass object, the subclass constructor must execute first, (vii) (viii) and then the superclass constructor executes. The keyword extends is used to access the parent class method The keyword super is used to indicate the inheritance. (ix) (x) (10 marks) acerr V-31

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Business Process Driven Database Design With Oracle PL SQL

Authors: Rajeev Kaula

1st Edition

1795532386, 978-1795532389

More Books

Students also viewed these Databases questions

Question

10-9 How have social technologies changed e-commerce?

Answered: 1 week ago