
Abstract Class
Quiz
•
Professional Development, Computers
•
University - Professional Development
•
Practice Problem
•
Medium
Muhd Lutfir
Used 5+ times
FREE Resource
Enhance your content in a minute
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an abstract method?
An abstract method is any method in an abstract class.
An abstract method is a method which cannot be inherited.
An abstract method is one without a body that is declared with the reserved word abstract.
n abstract method is a method in the child class that overrids a parent method.
2.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Abstract class can have all of the below except
Abstract methods
Methods with code implementation
Used to create objects
Used to create subclasses
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What should be the code in the blank from the given codes?
public abstract class Person{
public abstract void enroll();
}
public class Student extends Person(
______________________________
{
public void eat(){
}
public void enroll(){
}
public void drop(){
}
public class Person()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Fill up the correct code in the given program below.
public abstract class BSIT2A{
public _____________ void read();
}
public class Student extends BSIT2A{
public void read(){
}
static
final
abstract
public
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Is the given code below correct?
public class Person{
public abstract void enroll();
}
Yes
No
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Is the code below correct?
public abstract class Pet{
public abstract void eat();
}
public class Cat extends Pet{
public void eat(){
}
}
Yes
No
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Is the given code below correct?
public abstract class Person{
public final abstract void draw();
}
public class Student extends Person{
public void draw(){
}
}
Yes
No
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Quiz RPL IV
Quiz
•
University
11 questions
Scheduled Waste Management
Quiz
•
Professional Development
11 questions
Commercial 2022 Priorities
Quiz
•
Professional Development
10 questions
ECM3434 Business Analysis 1 - Data Modelling
Quiz
•
University
10 questions
Quiz CodeIgniter 4
Quiz
•
University
10 questions
Ice Breaker Challenge- Guess the Tool by Its Logo
Quiz
•
Professional Development
11 questions
Nuts and Bolts Review
Quiz
•
Professional Development
10 questions
MAN 104 CLINICAL TEACHING AND SUPERVISION
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
