
OOP with Java
Authored by RR14CS001 VEERASINGH
Computers
University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
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
Hyrje në SO
Quiz
•
University
10 questions
Machine Learning (Introduction)
Quiz
•
University
11 questions
Determining System Requirements
Quiz
•
University
15 questions
1.1.1 The structure and function of the processor
Quiz
•
11th Grade - University
10 questions
Planning and Implementation of Information Security
Quiz
•
University
10 questions
INTO Artificial Intelligence
Quiz
•
University - Professi...
14 questions
ITF Chapter 1 Computing Devices
Quiz
•
University
10 questions
INTRODUCCION A LA PROGRAMACION
Quiz
•
6th Grade - 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