
JAVA PROGRAMMING EXAM BSAIT 1-2
Authored by Erickson Antonio
Computers
Professional Development
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
54 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is inheritance in Java?
A mechanism where one object modifies properties and behaviors of a parent object
A mechanism where one object creates properties and behaviors of a parent object
A mechanism where one object loses properties and behaviors of a parent object
A mechanism where one object acquires properties and behaviors of a parent object
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What does the 'extends' keyword indicate in Java?
Creating a new class that is a copy of an existing class
Creating a new class that replaces an existing class
Creating a new class that is unrelated to any existing class
Creating a new class that derives from an existing class
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the superclass in Java inheritance?
The class being inherited from
A class that is a copy of another class
The class that inherits from another class
A class that is unrelated to any other class
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What types of inheritance are supported in Java?
Single, hybrid, and hierarchical
Single, multiple, and hybrid
Single, multilevel, and hierarchical
Single, multilevel, and hybrid
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the relationship between Programmer and Employee classes?
Programmer IS - A Employee
Programmer IS - NOT A Employee
Programmer IS - EQUAL TO Employee
Programmer IS - LIKE A Employee
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is an example of single inheritance in Java?
Dog class inherits the Cat class
Cat class inherits the Dog class
Dog class inherits the Animal class
Animal class inherits the Dog class
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is an example of multilevel inheritance in Java?
BabyDog class inherits the Dog class which inherits the Animal class
Dog class inherits the Animal class
Cat class inherits the Animal class
Animal class inherits the Dog class
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
64 questions
Security+ Phase 4
Quiz
•
Professional Development
60 questions
Machine Learning Quiz
Quiz
•
Professional Development
60 questions
Eloqua 2022
Quiz
•
Professional Development
60 questions
IS214 - Midterm Exam
Quiz
•
Professional Development
64 questions
hashmap + java-visual
Quiz
•
Professional Development
61 questions
Database Test 1 Study guide
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
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
Discover more resources for Computers
10 questions
How to Email your Teacher
Quiz
•
Professional Development
6 questions
3RD GRADE DECLARATION OF INDEPENDENCE EXIT TICKET
Quiz
•
Professional Development
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
22 questions
Multiplying Exponents with the Same Base
Quiz
•
9th Grade - Professio...
40 questions
Flags of the World
Quiz
•
KG - Professional Dev...