Question: If a (an) .... variable has been changed in any object this change will be reflected on all working objects. Which of the following is
If a (an) .... variable has been changed in any object this change will be reflected on all working objects.
Which of the following is TRUE about inheritance in Java?
1) Private methods are final.
2) Protected members are inherited by the subclasses.
3) Protected methods are final.
4) We cannot override private methods.
If class A has the following constructor only, then which of the following is correct?
public A(int x){}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
