Introduction to Java


Available Answers

  1. 1.

    Fill in the blanks with correct words.

    3CharacterExit-controlledFourInitialization
    1. The int data type takes _______ bytes for storage.
    2. 'A' is a ________ constant.
    3. Float a = 45.34; is a/an _________ statement.
    4. The output of 20 % 6 in Java will be ____________.
    5. The do...while is an _____________ loop.
  2. 2.

    Write T for true statement and F for False one. Correct the false statement (s).

    1. In Java, a class is a capsule of data members and member functions.
    2. To run a Java program, double-click the complied class.
    3. A variable name can start with a digit.
    4. The selection statements in Java are if and switch.
    5. The while loop is executed at least once.
  3. 3.

    What do you understand by object oriented programming?

  4. 4.

    What is a class in Java? What is it composed of?

  5. 5.

    What is a method? Explain its general format.

  6. 6.

    What do you understand by data type? List the data types in Java.

11 more answer(s) available.

Comments
good
16 Aug 2020nisarg
Please login to post your comments.