Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started