
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
14 questions
Day 1 - Basics of Java
Quiz
•
Professional Development
10 questions
Understanding Construction Drawings - Nr 3
Quiz
•
12th Grade - University
10 questions
INCLUSIVE EDUCATION- THE SMART LEARNING OBJECTIVE
Quiz
•
University
10 questions
Node.js
Quiz
•
University
12 questions
Code of Ethics
Quiz
•
Professional Development
10 questions
Java Control Flow statements
Quiz
•
University
10 questions
SWOT
Quiz
•
University - Professi...
12 questions
Cycle 4: Session 8 Review.
Quiz
•
Professional Development
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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
Discover more resources for Professional Development
7 questions
How James Brown Invented Funk
Interactive video
•
10th Grade - University
20 questions
Black History Month Trivia Game #1
Quiz
•
Professional Development
5 questions
Helping Build the Internet: Valerie Thomas | Great Minds
Interactive video
•
11th Grade - University
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
19 questions
Review2-TEACHER
Quiz
•
University
15 questions
Pre2_STUDENT
Quiz
•
University
