
Java Quiz 1
Authored by Shobith B
Computers
University
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which of the following is not an OOPS Principle?
a. Encapsulation
b. Polymorphism
c. Exception
d. Abstraction
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which of the following OOP concept binds the code and data together and keeps them secure from the outside world?
a. Polymorphism
b. Inheritance
c. Abstraction
d. Encapsulation
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which component is used to compile, debug and execute java program?
JVM
JDK
JIT
JRE
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What is the return type of a method that does not return any value?
int
float
void
double
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which function is used to perform some action when the object is to be destroyed?
finalize()
delete()
main()
none of the mentioned
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the process of defining two or more methods within same class that have same name but different parameters declaration?
none of the mentioned
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which method can be defined only once in a program?
main method
finalize method
static method
private method
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?