Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
10 Cards in this Set
- Front
- Back
A method cannot be declared as throwing more than one exception.
|
false
|
|
Is this legal
int i; for(i=0,int t=6;i<9;i++) |
No.We can declare or initialize morw than one variable in a for loop but we cannot mix declarations with initializations
|
|
Can a method have more than one access modifier?
|
No.A method can have more than one modifier but not more than one access modifier.Access modifiers are private,protected,public.
|
|
it is not possible to have an instance of a non-static inner class before before any instance of the outer class have been created.
|
true
|
|
Can a member variable be declared synchronized?
|
No
|
|
A class defined within a parameter to a method is
|
Anonymous
|
|
Can a final method be overridden?
|
No
|
|
In switch construct the default statement must be placed after all the case statement
|
False
|
|
Is this valid public static void main(String[] fred)
|
Yes
|
|
Can we have a final abstract class
|
No
|