- 0 false 0
- 0 true 0
- 0 0 0
- Compile error - static variable must be initialized before use.
- None of these
Answer: Option 2 Let'
1 Answers 1 viewsAnswer: Option 3 1. new Derived(); statement executes and invoke the non-parametrized constructor of derived class i.e. public Derived(); 2. As Derived class is a subclass of class Base so super(); executes...
1 Answers 25 viewsAnswer: Option 1 The options B, C and D are incorrect options as in Java we can declare an abstract class comprising of abstract and non-abstract methods that will not...
1 Answers 1 viewsAnswer: Option 1 Overriding in Java simply means that the particular method would be called based on the run time type of the object and not on the compile time...
1 Answers 1 viewsAnswer: Option 2 Let'
1 Answers 4 viewsAnswer: Option 3 Let'
1 Answers 2 viewsAnswer: Option 3 Let'
1 Answers 4 views