Question types

7. JAVA BASICS question types

744 questions across 1 question group — pick any mix to generate a COMPUTER paper with step-by-step answer keys.

744
Questions
1
Question groups
5
Question types
Sample Questions

7. JAVA BASICS questions

One sample from each question group in this chapter. Select any group above to see the full set with answer keys.

Q 1MCQ1 Mark
…………. subroutine statements are used to display information of Java program to the user.
  • A
    Function
  • B
    Method
  • both (A) and (B)
  • D
    None of these

Answer: C.

View full solution
Q 2MCQ1 Mark
Which of the following has its scope in the block where it is defined?
  • A
    Literal
  • B
    Function
  • Variable
  • D
    None of these

Answer: C.

View full solution
Q 4MCQ1 Mark
By default, numeric literal is assumed to be of the following type.
  • Double
  • B
    Float
  • C
    Long
  • D
    Byte

Answer: A.

View full solution

Generate a 7. JAVA BASICS paper free

Pick question groups from the list above, set marks and difficulty, and export a branded PDF with step-by-step answer keys. First 3 chapters free — no signup.

Download App