Challenge your Java knowledge with this engaging quiz! It tests key concepts such as OOP features, file extensions, polymorphism, and array usage in Java. Perfect for learners looking to assess or enhance their programming skills.
.cpp
.js
.c
.java
Rate this question:
Method Overloading
Method Overriding
Abstraction
Encapsulation
Rate this question:
Int
Char
String
Double
Rate this question:
True
False
Rate this question:
An array can hold primitive types data
An array has its size that is known as array length
An array knows only its type that it contains. Array type is checked at the compile-time
An array holds only one type of data
Rate this question:
import
Static import
None of the above
All of above
Rate this question:
To create single copy
It is in syntax
It give access to other method
None
Rate this question:
Abstract
Variable
Static
None of these
Rate this question:
Browser
Applet
Package
None of the above
Rate this question:
True
False
Rate this question:
java.lang
Java.math
Java.ref
Java.util
Rate this question:
Java Very Large Machine
Java Verified Machine
Java Very Small Machine
Java Virtual Machine
Rate this question:
James Gosling
Ken Thompson
Dennis Richie
None of the above
Rate this question:
Object
Class
Package
Method
Rate this question:
An Array
A class
Interface
None of the above
Rate this question:
Constructor overloading
Method overloading
Method overriding
Operator overloading
Rate this question:
JDK
JVM
JRE
None of the above
Rate this question:
X mod 10 = 2 y mod 10 = 2.25
x mod 10 = 4 y mod 10 = 2.50
X mod 10 = 6 y mod 10 = 3.25
x mod 10 = 2 y mod 10 = 4.25
Rate this question:
Polymorphism
Encapsulation
Inheritance
None of the above
Rate this question:
True
False
Rate this question:
1 1
0 1
1.5 1
1.5 1.0
Rate this question:
25
24
32
33
Rate this question:
ASCII
ISO-LATIN-1
UNICODE
None of the mentioned
Rate this question:
Boolean b1 = 1;
Boolean b2 = ‘false’;
Boolean b3 = false;
boolean b4 = ‘true’
Rate this question:
0
1
True
False
Rate this question:
Int arr[] = new int[5]
int [] arr = new int[5]
Int arr[] arr = new int[5]
int arr[] = int [5] new
It is necessary to use new operator to initialize an array.
Array can be initialized using comma separated expressions surrounded by curly braces.
Array can be initialized when they are declared.
None of the mentioned
Rate this question:
Long
Float
Digits
Number
Rate this question:
Import
Import
Implements
Implements
Rate this question:
Quiz Review Timeline (Updated): Mar 14, 2023 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.