What is the difference between private and public functions ?
What does GUI stand for?
Java runs on _______.
Choose the best definition of an object
Choose the best definition for a Class.
What is a loop ?
Choose the appropriate data type for this value:...
Given the declaration : int [ ] ar = {1,2,3,4,5}; What is the value of...
If classes Student, Staff and Faculty extend class Person, which one...
Choose the appropriate data type for this value: 1
What is the proper way to declare a variable ?
Choose the appropriate data type for this value:...
Given the declaration : int [ ] ar = {1,2,3,4,5}; What is the value of...
Given the declaration int [ ] nums = {8, 12, 23, 4, 15}, what...
The range of indices for an array always start at:
Choose the appropriate data type for this field:...
What is an Applet ?
What will be the value of "num" after the following statements?...
If you want your conditional to depend on two conditions BOTH being...
The methods wait(), notify() and notifyAll() in Object need to be...
Synchronized is a keyword to tell a Thread to grab an Object lock...
What is the role of the constructor?
Which one needs a web page to run
What is the keyword used in java to create an object?
The last value in an array called ar can be found at index:
Primitive datatypes are allocated on a stack.
What is the main function of any variable ?
Choose the appropriate data type for this value:...
Which of the following means that in order for the conditional to...
Choose the appropriate data type for this field:...
The following prototype shows that a Cylinder subclass is derived from...
Methods that are marked protected can be called in any subclass of...
With inheritance, a derived subclass object can directly access any
What is an assignment statement ?
How to define a JButton with the caption test?
What's the difference between an Applet and an application ?
Which of the following always need a Capital letter...
An abstract class can have non-abstract methods.
What does AWT stands for ?
What would display from the following statements? int [ ] nums =...
Can you compare a boolean to an integer?
What is a member of a class
Choose the appropriate data type for this value:...
If class A implements an interface does it need to implement all...
Class B inherits from Class A, what cannot be said:
The most common use of an array is to:
Inner classes can be defined within methods.
In a 'for' loop, what section of the loop is not included in the...
What displays from the following statements? String word =...
Java keywords are written in lowercase as well as uppercase.
Choose the appropriate data type for this field:...
What loop will display each of the numbers in this array on a separate...
Which is NOT a section of all types of loops ?
An object could be ...
The default statement of a switch is always executed.
If we declare int [ ] ar = {1,2,3,4,5,6}; The size of array ar is:
How can you prevent a member variable from becoming serialized?
Which one is not correct?
How is the layout of widgets on a panel specified?
Choose the appropriate data type for this field:...
A class is...
Following code will result in: int num = 6.7;
Choose the appropriate data type for this value:...
A class cannot be declared:
A null reference may be used to access a static variable or method.
If none of the private/protected/public is specified for a member,...
Following code will result in: float num = 5/0;
Which of the following is not a Java keyword?
Following code will result in: class A { public static void...
Following code will result in: int a1 = 5; double a2 = (float)a1;
What is the size of a Char in Java?
Choose the appropriate data type for this value:...
We have three classes: ATM, ATM Display and Account. The ATM has one...
What is an instanceof?
Which one could be used as the main container in a Java application?
Which package do you need to use widgets such as JApplet, JFrame,...
Which is not a part of defining an object?
What is essential in making sure that your loop is not infinite ?
The size of a frame is set using ...
Following code will result in: int num = 8/0;
Following code will result in: class A { public static void...
An array holds:
A UML association is ...
The size of an applet is set using ...
Which one adds the widget mainPanel to a frame in the constructor of...
Native methods can be 'abstract'
A class can be transient
Integer a = new Integer(2); Integer b = new Integer(2); What happens...
What is the correct syntax for java main method?
Following code will result in: class A { int x = 1; public static...
A UML association from class A to class B means
Object-Oriented Programming means ...
Which one adds the widget mainPanel to an applet in the init method of...