|
Question |
Rating |
View Answer |
|
Is the ternary operator written x : y ? z or x ? y : z ? |
|
View Answer |
|
What is the List interface? |
|
View Answer |
|
What is the difference between an if statement and a switch statement? |
|
View Answer |
|
What are the problems faced by Java programmers who don't use layoutmanagers? |
|
View Answer |
|
What are the two basic ways in which classes that can be run as threads may be defined? |
|
View Answer |
|
What are synchronized methods and synchronized statements? |
|
View Answer |
|
Which Component subclass is used for drawing and painting? |
|
View Answer |
|
What methods are used to get and set the text label displayed by a Buttonobject? |
|
View Answer |
|
What method must be implemented by all threads? |
|
View Answer |
|
When is an object subject to garbage collection? |
|
View Answer |
|
Can an unreachable object become reachable again? |
|
View Answer |
|
How does a try statement determine which catch clause should be used tohandle an exception? |
|
View Answer |
|
What are the Object and Class classes used for? |
|
View Answer |
|
What modifiers may be used with a top-level class? |
|
View Answer |
|
What is a Java package and how is it used? |
|
View Answer |
|
What is the purpose of a statement block? |
|
View Answer |
|
What is the difference between the prefix and postfix forms of the ++ operator? |
|
View Answer |
|
Can try statements be nested? |
|
View Answer |
|
To what value is a variable of the boolean type automatically initialized? |
|
View Answer |
|
What is the difference between a public and a non-public class? |
|
View Answer |