
Java OOP principles Summative test

Quiz
•
Other
•
University
•
Hard
Jeffmark Pinaredondo
Used 7+ times
FREE Resource
60 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Indicate if the following lines of codes are legal or illegal. If legal select the resulting value. If illegal select Error.
String hello = new String("Hello world!");
int len = hello.length();
legal
11
illegal
Error
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
interface and implement keywords should be used side by side to run the program with abstraction.
True
False
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
which keyword is used in a program to set the variable or identifier's value fixed?
constant
const
cons
consts
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
When a derived class is defined it also has all the attributes and methods of the base class
Polymorphism
Encapsulation
Inheritance
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
The ability of a programming language to process objects differently depending on their class.
Inheritance
Encapsulation
Polymorphism
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
An object's attributes are contained in the object and access to them is restricted to operations of that class
Inheritance
Polymorphism
Encapsulation
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
The process of creating an actual named instance of class.
Instantiation
Overrriding
Method
Attribute
Create a free account and access millions of resources
Similar Resources on Wayground
60 questions
EDUCATION DAY 2022 QUIZLET

Quiz
•
University
64 questions
Câu hỏi về Phân tích thiết kế hệ thống

Quiz
•
University
58 questions
Core 01 Health & Safety

Quiz
•
KG - University
60 questions
Calif. drivers permit test

Quiz
•
10th Grade - Professi...
60 questions
MATERI FOWAG

Quiz
•
University
60 questions
MCAER day#6 Plant physio and seed tech

Quiz
•
University
55 questions
N202 - U3 Practice

Quiz
•
University
55 questions
Change

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Other
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University