It is created for Beginners in Java. This is to test the knowledge of any Java Developer wannabe.
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:
VariableName variableType;
VariableName;
VariableType;
VariableType variableName;
Rate this question:
9
1
0
Num
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:
&
&&
|
||
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:
0
1
Ar.length
Ar.length - 1
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:
If ((x < 3) && (y > 4))
If (x < 3 y >= 4)
If ((x < 3) || (y > = 4))
If ((x > 3) || (y < = 4))
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:
A Java Application
A Java Stand-Alone Application
A Java Applet
A Java Class
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:
True
False
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:
True
False
Rate this question:
This
New
Sync
New()
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:
True
False
Rate this question:
Yes
No
Rate this question:
6
2+4
1+3
4
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:
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:
True
False
Rate this question:
True
False
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:
True
False
Rate this question:
True
False
Rate this question:
An attribute
A method
Attribute or method
A sub-class
Rate this question:
An object
An executable piece of code
An abstract definition of an object
A varibale
Rate this question:
True
False
Rate this question:
Compilation error
Runtime error
Num being 6.7
Num being 6
Rate this question:
Compilation error: Divisions must be in a try block
Compilation error: DivideByZeroException
Runtime Exception
No Error: a is NaN
Rate this question:
Compilation error
Runtime error
No errors
Runtime Exception
Rate this question:
Ab
Ac
Ace
Bd
Rate this question:
Is accessible publicly
Is only accessible by other classes of the same package
Is only accessible from within the class
Is accessible by the class and its subclasses
Rate this question:
Initialization
Loop Body
Test statement
Update
Rate this question:
Description
Methods
Associations with other objects
Name
Rate this question:
A class needs to be instantiated as an object before being used
An objects exists in memory in run time
Class and object are just different names for the same thing
An object is a variable, where its type is the class used to declare the variable
Rate this question:
Compiler error
Runtime Exception
No errors
Output is B
Rate this question:
True
False
Rate this question:
By marking it private
By marking it volatile
By marking it transient
You can not.
Rate this question:
That your Boolean statement will at some point be false
That there is a Boolean statement somewhere in your code
That your Boolean statement will at some point be true
All of the choices
Rate this question:
Compiler error
Runtime Exception
True
False
Rate this question:
Compile error
Runtime Exception
No error
No Output
Rate this question:
Initialization
Loop Body
Test statement
The word "while"
Rate this question:
Quiz Review Timeline (Updated): Jun 16, 2024 +
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.