
Core Java Quiz(PTP)
Authored by padma priya
Computers
University
Used 6+ 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
5 sec • 1 pt
1. List out principles of OOPS
1. List out principles of OOPS
Encapsulation
Data abstraction
Inheritance
Class
interface
Structure
Object
Variable
Constant
Message Communication
Polymorphism
Interface
2.
MULTIPLE CHOICE QUESTION
5 sec • 1 pt
2. What are Access Specifiers available in Java?
2. What are Access Specifiers available in Java?
private
public
protected
private
public
protected
default or friendly
private
void
protected
extends
implements
private
protected
3.
MULTIPLE CHOICE QUESTION
5 sec • 1 pt
3. Which of the following statement is true regarding static fields and static methods in programming?
3. Which of the following statement is true regarding static fields and static methods in programming?
Static methods can access instance variables directly
Static fields are specific to each instance of a class
Static fields are shared among all instances of a class
None
4.
MULTIPLE CHOICE QUESTION
5 sec • 1 pt
4. Which event is triggered by clicking a button in a graphical user interface?
4. Which event is triggered by clicking a button in a graphical user interface?
ActionEvent
KeyEvent
MouseEvent
ItemEvent
5.
MULTIPLE CHOICE QUESTION
5 sec • 1 pt
5. Which of the following packages is always imported by default in Java?
5. Which of the following packages is always imported by default in Java?
java.util
java.lang
java.awt
java.applet
6.
MULTIPLE CHOICE QUESTION
5 sec • 1 pt
6. what is size of int in Java?
6. what is size of int in Java?
2 bytes
1 byte
8 bytes
4 bytes
7.
MULTIPLE CHOICE QUESTION
5 sec • 1 pt
7. What is the primary characteristic of a final method in Java?
7. What is the primary characteristic of a final method in Java?
It can only be called within the class where it is defined.
It can be overridden by subclasses.
It cannot be overridden by subclasses.
It is restricted to use in abstract classes.
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
15 questions
Digital Etiquette
Quiz
•
4th Grade - University
15 questions
Data Mining - Classification Mining
Quiz
•
University
10 questions
Què has après sobre el web ?
Quiz
•
University
15 questions
PROBLEM SOLVING USING R UNIT I MCQS
Quiz
•
University
10 questions
UTP Cable
Quiz
•
12th Grade - University
10 questions
PYTHON_CHAPTER 6
Quiz
•
University
12 questions
Javascript
Quiz
•
University
13 questions
Podsumowanie: binarny, komputer, sieć
Quiz
•
7th 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