The 'Java Objective Test' assesses understanding of Java and Object-Oriented Programming concepts. It covers class-object relationships, access modifiers, inheritance, and class members, focusing on key skills for Java developers.
Graphical User Interface
Gimme Ur Internet
Grand User Interface
Graphical Useful Interface
Rate this question:
Windows
Unix/Linux
Mac
All of the Above
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:
A thing
An instance of a class
Something you wear
Rate this question:
2
3
4
5
Rate this question:
Int
Double
Boolean
String
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:
Int
Double
String
Boolean
Rate this question:
VariableName variableType;
VariableName;
VariableType;
VariableType variableName;
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:
Int
Double
String
Boolean
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:
Whatever programmer specifies
1
0
Size of array
Rate this question:
9
1
0
Num
Rate this question:
String
Int
Char
Double
Rate this question:
True
False
Rate this question:
True
False
Rate this question:
&
&&
|
||
Rate this question:
A Java Application
A Java Stand-Alone Application
A Java Applet
A Java Class
Rate this question:
0
1
Ar.length
Ar.length - 1
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:
If ((x < 3) && (y > 4))
If (x < 3 y >= 4)
If ((x < 3) || (y > = 4))
If ((x > 3) || (y < = 4))
Rate this question:
Int
Double
Char
String
Rate this question:
True
False
Rate this question:
This
New
Sync
New()
Rate this question:
Class Circle extends Cylinder
Class Cylinder derived Circle
Class Cylinder extends Circle
Class Circle derived Cylinder
Rate this question:
JButton aButton('test');
JButton aButton=new JButton("test");
JButton aButton=new JButton('test');
JButton("test") aButton;
Rate this question:
Double
Char
Boolean
Int
Rate this question:
True
False
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:
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:
Adding a number to an int
Assigning a multiplication
Assigning a name to a variable
Assigning a value to a variable
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:
Class names and Strings
Objects and class names
Fields and Strings
Data types and fields
Rate this question:
True
False
Rate this question:
Advanced Window Toolkit
Abstract window Toolkit
Adjust Window Toolkit
None of the choices
Rate this question:
Yes
No
Rate this question:
An attribute
A method
Attribute or method
A sub-class
Rate this question:
6
2+4
1+3
4
Rate this question:
Int
String
Double
Boolean
Rate this question:
Yes, always.
No, not when A is abstract
Rate this question:
B is a sub-class of A
A is a super-class of B
B has access to private members of A
B has access to protected members of A
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:
Initialization
Loop Body
Test statement
Update
Rate this question:
Ab
Ac
Ace
Bd
Rate this question:
True
False
Rate this question:
Quiz Review Timeline (Updated): Mar 21, 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.