Question: JAVA Question 9 Tick the true box if a statement is true and tick the false box otherwise. (a) Aprivate attribute of a class can
JAVA

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