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.

  1. A private attribute of a class can be accessed directly by objects of its own class.

o true o false

  1. Two methods of a class having the same name is called overloading.

o true o false

  1. At compile time, if classB is a subclass of classA, an object of classA is an object of classB.

o true o false

  1. Constructors cannot be overloaded.

o true o false

  1. An abstract class can have an abstract subclass.

o true o false

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!