Study your flashcards anywhere!

Download the official Cram app for free >

  • Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

How to study your flashcards.

Right/Left arrow keys: Navigate between flashcards.right arrow keyleft arrow key

Up/Down arrow keys: Flip the card between the front and back.down keyup key

H key: Show hint (3rd side).h key

A key: Read text to speech.a key

image

Play button

image

Play button

image

Progress

1/10

Click to flip

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