Quiz 3 - Bce Rep

9 Questions | Attempts: 81
Please wait...
Question 1 / 9
0 %
0/100
Score 0/100
1. To explicitly call a method from super class we use keyword; 
Submit
Please wait...
About This Quiz
Quiz 3 - Bce Rep - Quiz

Online quiz BCE repeaters

2.
We’ll put your name on your report, certificate, and leaderboard.
2. Which of the following is true for Method Overriding ;
Submit
3. Method overloading is an example of Dynamic Polymorphism
Submit
4. In polymorphism, we create object of a subclass and initialize it by assigning a reference of a super class.
Submit
5. Given the following code;public class Employee{                                 public abstract String toString();}which of the following statement is true 
Submit
6. Methods and Fields from a Super Class can only be visible in a Sub class when they are;
Submit
7. In an is-a relationship, an object of a subclass can also be treated as an object of its superclass.
Submit
8. Which of these is not a correct statement?
Submit
9. Suppose A is an abstract class and B is a subclass of A. Both A and B have a default constructor. which of the following is true;

1. A a = new A();
2. A a = new B();
3. B b = new A();
4. B b = new B();
Submit
View My Results
Cancel
  • All
    All (9)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
To explicitly call a method from super class we use keyword; 
Which of the following is true for Method Overriding ;
Method overloading is an example of Dynamic Polymorphism
In polymorphism, we create object of a subclass and initialize it by...
Given the following code;public class Employee{     ...
Methods and Fields from a Super Class can only be visible in a Sub...
In an is-a relationship, an object of a subclass can also be treated...
Which of these is not a correct statement?
Suppose A is an abstract class and B is a subclass of A. Both A and B...
Alert!

Back to Top Back to top
Advertisement