Online Test for Java

  1. JAR stands for ________.
    Java Application Runner
    Java Archive Runner
    Java Archive
    None of these

  1. In Java SE 7 and later, underscore characters "_" can appear anywhere between digits in a numerical literal
    True
    False


  1. The JRE deletes objects when it determines that they are no longer being used. This process is called Garbage Collection.
    True
    False

  1. Which of these is a super class of all errors and exceptions in the Java language?
    RunTimeExceptions
    Throwable
    Catchable
    None of the above

  1. The Java programming language is a ________?
    Machine Level Language
    High Level Language
    Assembly Level Language
    None of the above


  1. Which is right way to declare Array?
    int[] myArray;
    int myArray[];
    int []myArray;
    A and B Both

  1. James Gosling is father of Java?
    True
    False

  1. Overloaded methods are differentiated by
    Number of arguments
    Data type of arguments
    Number and the Data type of the arguments
    None of the above

  1. Which method of System class is used to copy array?
    copyArray
    arrayCopy
    arraycopy
    arrCopy

Post Your Question
Social Sharing
Search