Question: Question 9 Tick the true box if a statement is true and tick the false box otherwise. A private attribute of a class can be
Question 9
Tick the "true" box if a statement is true and tick the "false" box otherwise.
- A private attribute of a class can be accessed directly by objects of its own class.
o true o false
- Two methods of a class having the same name is called overloading.
o true o false
- At compile time, if classB is a subclass of classA, an object of classA is an object of classB.
o true o false
- Constructors cannot be overloaded.
o true o false
- An abstract class can have an abstract subclass.
o true o false
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
