
OOP with Java

Quiz
•
Computers
•
University
•
Hard
RR14CS001 VEERASINGH
Used 2+ times
FREE Resource
12 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
2 mins • 10 pts
What is the use of final keyword in Java?
When a class is made final, a subclass of it can not be created.
When a method is final, it can not be overridden.
When a variable is final, it can be assigned value only once.
All of the above
2.
MULTIPLE SELECT QUESTION
2 mins • 10 pts
Size of int in Java is
8 bits
16 bits
32 bits
48 bits
3.
MULTIPLE SELECT QUESTION
2 mins • 10 pts
When is the object created with new keyword?
At compile time
At run time
Depends on the code
At execution time
4.
MULTIPLE CHOICE QUESTION
2 mins • 10 pts
Identify the corrected definition of a package.
A package is a collection of editing tools
A package is a collection of classes
A package is a collection of classes and interfaces
A package is a collection of interfaces
5.
MULTIPLE CHOICE QUESTION
1 min • 10 pts
Java is a platform independent programming language
True
False
6.
MULTIPLE CHOICE QUESTION
2 mins • 10 pts
What is a correct difference between print() and println()?
print() prints the output and move to new line, println() prints the output and stays on same line
print() prints the output and stays on same line, println() prints the output and move to new line
None of the given
Both of the given
7.
MULTIPLE CHOICE QUESTION
2 mins • 10 pts
What is meaning * in import statement?
To import selected classes from a package
To import all classes from a package
To import all classes from a package and multiply it
None of the given
Create a free account and access millions of resources
Similar Resources on Wayground
8 questions
Niveles de Acceso y Funciones Básicas

Quiz
•
University
10 questions
Third Year Placement Training Revision Test

Quiz
•
University
10 questions
Core Java Quiz

Quiz
•
University
11 questions
Review of OOPs Java Quiz1

Quiz
•
University
16 questions
Java Основи

Quiz
•
11th Grade - University
10 questions
Week 4: Recap Java Programming

Quiz
•
University
10 questions
Java quiz based on inheritance

Quiz
•
University
15 questions
Java

Quiz
•
University
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
11 questions
NFL Football logos

Quiz
•
KG - Professional Dev...
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

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

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
38 questions
Unit 6 Key Terms

Quiz
•
11th Grade - University
20 questions
La Hora

Quiz
•
9th Grade - University
7 questions
Cell Transport

Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?

Interactive video
•
4th Grade - University