Quizzes
Search
Take Quizzes
Animal
Nutrition
Love
Relationship
Computer
Sports
Society
Business
Geography
Language
Personality
Harry Potter
Movie
Television
Music
Online Exam
Health
Country
Art
Entertainment
Celebrity
Math
Game
Book
Fun
Science
Food
History
Education
All Topics
Create a Quiz
Quiz Maker
Training Maker
Survey Maker
Flashcards
Brain Games
See All
ProProfs.com
Search
Create A Quiz
Take Quizzes
Animal
Nutrition
Love
Relationship
Computer
Sports
Society
Business
Geography
Language
Personality
Harry Potter
Movie
Television
Music
Online Exam
Health
Country
Art
Entertainment
Celebrity
Math
Game
Book
Fun
Science
Food
History
Education
All Topics
Products
Quiz Maker
Training Maker
Survey Maker
Flashcards
Brain Games
See All
ProProfs.com
Quizzes
Quizzes
Quiz 3 - Bce Rep
9 Questions
|
By Aamirakbar | Updated: Mar 20, 2022
| Attempts: 81
Share
Start
Share on Facebook
Share on Twitter
Share on Whatsapp
Share on Pinterest
Share on Email
Copy to Clipboard
Embed on your website
Question
1
/ 9
0 %
0/100
Score
0/100
1.
To explicitly call a method from super class we use keyword;
Super
Implements
Instanceof
This
Submit
Start Quiz
About This Quiz
Online quiz BCE repeaters
2.
What's your name?
We’ll put your name on your report, certificate, and leaderboard.
2.
Which of the following is true for Method Overriding ;
Static binding occurs in Method Overriding
Late or Dynamic binding occurs in Method overriding
Both static binding and Late Binding occur in method overriding
No binding occurs in method overriding
Submit
3.
Method overloading is an example of Dynamic Polymorphism
True
False
Submit
4.
In polymorphism, we create object of a subclass and initialize it by assigning a reference of a super class.
True
False
Submit
5.
Given the following code;public class Employee{ public abstract String toString();}which of the following statement is true
The keywords public and abstract cannot be used together
The method toString() in class Employee must have a body
You must add return statement inside the body of tostring method
Class Employee must be define abstract
Submit
6.
Methods and Fields from a Super Class can only be visible in a Sub class when they are;
Public
Private
Protected
Both Public or Protected members are visible
Submit
7.
In an
is-a
relationship, an object of a subclass can also be treated as an object of its superclass.
True
False
Submit
8.
Which of these is not a correct statement?
Every class containing abstract method must be declared abstract.
Abstract class defines only the structure of the class not its implementation.
Abstract class can be instantiated by new operator.
Abstract class can be inherited.
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();
1 and 2
2 and 3
3 and 4
2 and 4
1 and 3
1 and 4
Submit
View My Results
Related Quizzes
Can You Pass This CDCs 7 Level Vol 3 Quiz?
Can You Pass This CDCs 7 Level Vol 3 Quiz?
Quiz 3 - Chapters 7-10
Quiz 3 - Chapters 7-10
Rep Maintenance Quiz Module 3
Rep Maintenance Quiz Module 3
Thank you for your feedback!
Would you like to edit this question to improve it?
No thanks
Name:
Email:
Oops! Give us more information:
Incorrect Question
Incorrect Answer
Typos
I have a feedback
Submit
Please provide name and email to proceed.
Please provide correct email to proceed.
Please provide feedback.
Please select the option.
All (9)
Unanswered (
)
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...
X
OK
X
OK
Cancel
X
OK
Cancel
Back to top
Back to top
Advertisement