1. Question: Java is designed by -

    A
    James Gosling

    B
    Joyce Farrel

    C
    Schildt

    D
    Resmus Lerdorf

    Note: Not available
    1. Report
  2. Question: Java was appeared in -

    A
    1970

    B
    1995

    C
    1985

    D
    2000

    Note: Not available
    1. Report
  3. Question: To write java program we can use notepad. To go to the notepad from command prompt what we have to write?

    A
    notepad

    B
    editorial

    C
    edit

    D
    command prompt

    Note: Not available
    1. Report
  4. Question: To go one folder to another in command prompt we need to write -

    A
    cd folder_name

    B
    cd..

    C
    ../cd folder_name

    D
    folder_name

    Note: Not available
    1. Report
  5. Question: To go back one folder in command prompt we have to type-

    A
    ..cd/

    B
    cd

    C
    cd..

    D
    cd:

    Note: Not available
    1. Report
  6. Question: Java is an Object-Oriented language.

    A
    True

    B
    False

    Note: Not available
    1. Report
  7. Question: We save a java program file according to it's class name including an extension .java.

    A
    True

    B
    False

    Note: Not available
    1. Report
  8. Question: Suppose you have saved a java program file named "Person.java". To compile this file from command prompt what you will write?

    A
    java Person

    B
    javac Person.java

    C
    javac

    D
    Person.java

    Note: Not available
    1. Report
  9. Question: The output of the following java program is Hello world.

    class HelloWorld{

      public static void main(String args[]){
         
         System.out.println("Hello world");
      }

    }

    A
    False

    B
    True

    Note: Not available
    1. Report
  10. Question: We save a java program file according to it's method name.

    A
    True

    B
    False

    Note: Not available
    1. Report
Copyright © 2024. Powered by Intellect Software Ltd