Definitions Java Miscellaneous 3 OOPs Loops and if else GUI
100
What is class
Who am I? I behave like a template.
100
What is void
No data type is returned.
100
What is encapsulation
It is a technique used for hiding the properties and behaviors of an object and allowing outside access only as appropriate. It prevents other objects from directly altering or accessing the properties.
100
What is False
For loops and while loops use the same stopping mechanism.
TRUE or FALSE
100
What is interface
GUI stands for Graphical User I_____ .
200
What is variables and methods
State and behavior are represented by what _____ and _____?
200
What is compiler
A(n) __________ is a program that translates programs to a simpler language that the computer can execute.
200
What is instance variables and getter and setters
mark _____ _____ private
mark _______and ______ public.
200
What is False
The body of any while loop will be executed at least once.
TRUE or FALSE
200
What is JFrame
I hold up the whole GUI.
300
What is for loop
Multi part loop
300
What is an argument
A(n) __________ is a piece of information passed to a method.
300
What is inheritance
It is the process by which objects of one class acquire the properties of objects of another class.
300
What is 4, 3, 2
int count;
for (count = 4; count > 1; count--)
System.out.print(count + " ");

400 - Value of y is:
int y = 4, z = 3;
if (y > 4)
{
z = 2;
y = y – 1;
}
else
z = 1;
y = z;

A. 1 B. 2 C. 3 D. 4
300
What is listener interface
Every event type has one of these
400
What is modifiers and private
I hide data
400
What is True
In Java, the double equal sign means "make equal to:" True or False
400
What is polymorphism
"One interface, many implementations-”
400
What is A
Value of y is:
int y = 4, z = 3;
if (y > 4)
{
z = 2;
y = y – 1;
}
else
z = 1;
y = z;

A. 1 B. 2 C. 3 D. 4

System.out.print(count + " ");
count++;
}
400
What is actionPerformed()
The listener's key method is _____.
500
What is API
The big toolkit
500
What is run time error
If the computer prints an error message while executing your program, the program contains a(n) __________
500
What is overriding method
Subclass redefines of its inherited methods when it needs to change or extend the behavior of that method.
500
What is 1, 2, 3
500 – Code will print:
int count = 1;
while (count <= 3)
{
System.out.print(count + " ");
count++;
}
500
What is event
When the user usually does something, it is an _____






Final Review

Press F11 for full screen mode



Limited time offer: Membership 25% off


Clone | Edit | Download / Play Offline