This is the ultimate Java test for all those Java developer-wannabes who have just began practicing the programming language. It consists of over 93 questions of basically Core Java. So, if you are one of them and want to have a solid practice session to strengthen your hold on the concepts and methods, take it right now.
Public functions are free, you have to buy private ones
Public functions are the only ones you can download
Public functions can be used by anyone, private can only be used by other code in the class you are writing
Public functions can’t be used
Rate this question:
Int
Double
String
Boolean
Rate this question:
Int
Double
Boolean
String
Rate this question:
A group of students in a class
An object definition, containing the data and function elements necessary to create an object
An action for a program
Rate this question:
Int
Double
String
Boolean
Rate this question:
2
3
4
5
Rate this question:
System.out.print("The number is : " + nums[0]);
System.out.print("The number is : " + nums[1]);
System.out.print("The number is : " + nums[8]);
System.out.print("The number is : " + nums);
Rate this question:
2
3
4
5
Rate this question:
Whatever programmer specifies
1
0
Size of array
Rate this question:
A thing
An instance of a class
Something you wear
Rate this question:
Graphical User Interface
Gimme Ur Internet
Grand User Interface
Graphical Useful Interface
Rate this question:
Int
Double
Char
String
Rate this question:
VariableName variableType;
VariableName;
VariableType;
VariableType variableName;
Rate this question:
&
&&
|
||
Rate this question:
A new type of Applet.
A segment of code to be run a specified amount of times
A segment of code to be run infinite times
A segment of code to be run once
Rate this question:
Faculty[] faculties={new Person(), new Staff(), new Student()};
Staff[] staff={new Person(), new Faculty(), new Student()};
Person[] persons={new Faculty(), new Staff(), new Student()};
Rate this question:
A Java program that does not run through a web browser
A Java program that is run through a web browser
An object-oriented programming language
An interactive website
Rate this question:
To add numbers together
To keep track of data in the memory of the computer
To print words on the screen
To write Java codes
Rate this question:
Adding a number to an int
Assigning a multiplication
Assigning a name to a variable
Assigning a value to a variable
Rate this question:
A Java Application
A Java Stand-Alone Application
A Java Applet
A Java Class
Rate this question:
String
Int
Char
Double
Rate this question:
9
1
0
Num
Rate this question:
Double
Char
Boolean
Int
Rate this question:
True
False
Rate this question:
If ((x < 3) && (y > 4))
If (x < 3 y >= 4)
If ((x < 3) || (y > = 4))
If ((x > 3) || (y < = 4))
Rate this question:
True
False
Rate this question:
Yes
No
Rate this question:
True
False
Rate this question:
0
1
Ar.length
Ar.length - 1
Rate this question:
Int
String
Double
Boolean
Rate this question:
Create an instance of a class (an object)
Create names for methods
To create some type of change in the state of an object
Rate this question:
Char
String
Double
Boolean
Rate this question:
True
False
Rate this question:
Double
Boolean
String
Int
Rate this question:
For (int i =0; i < 3; i++) System.out.println( nums[i]);
For (i = 1; i
For (i = 0; i
For (i = 1; i < 3; i++) System.out.println(nums[i]);
Rate this question:
JButton aButton('test');
JButton aButton=new JButton("test");
JButton aButton=new JButton('test');
JButton("test") aButton;
Rate this question:
True
False
Rate this question:
This
New
Sync
New()
Rate this question:
None of the above.
Applets are run over the web.
Applets can paint words, applications cannot.
An application is only available on Windows
Rate this question:
6
2+4
1+3
4
Rate this question:
Class Circle extends Cylinder
Class Cylinder derived Circle
Class Cylinder extends Circle
Class Circle derived Cylinder
Rate this question:
Public or private superclass member
Private superclass member
Public superclass member (and protected subclass members if it's in the same package)
Protected, public or private superclass member
Rate this question:
True
False
Rate this question:
0
5
6
7
Rate this question:
True
False
Rate this question:
Anything
An algorithm
A data container
A program
Rate this question:
Perform for loop on array
Perform different operations on each element in array
Perform the same operation on all elements in array
Perform while loop on array
Rate this question:
An object
An executable piece of code
An abstract definition of an object
A variable
Rate this question:
Quiz Review Timeline (Updated): Mar 21, 2025 +
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.