Practice mode / Java Java language was initially called as A Option A: Sumatra B Option B: J++ C Option C: Oak D Option D: Pine Correct answer C. Oak Show answer Report a problem How we write and check questions
Question 01 / Java Which variables are created when an object is created with the use of the keyword ‘new’ and destroyed when the object is destroyed? A Option A: Local variables B Option B: Instance variables C Option C: Class Variables D Option D: Static variables Correct answer B. Instance variables Show answer Open question
Question 02 / Java Data type long literals are appended by A Option A: Uppercase L B Option B: Lowercase L C Option C: Long D Option D: Both A and B Correct answer D. Both A and B Show answer Open question
Question 03 / Java Which of these is returned by operator ‘&’? A Option A: Integer B Option B: Character C Option C: Boolean D Option D: Float Correct answer B. Character Show answer Open question
Question 04 / Java Which of these have highest precedence? A Option A: () B Option B: ++ C Option C: * D Option D: >> Correct answer A. () Show answer Open question
Discussion