FREE E LEARNING PLATFORM
HOMEEXCEPTIONSOOPSJVMINTRO
 

I.C.S.E Board Java objective questions practise Paper 1




1. In java a constructor with no parameters or arguments is called _________ constructor.

  1. Default Constructor
  2. User Defined Constructor
  3. Static Constructor
  4. Custom Constructor

2. In java a constructor with no parameters or arguments and generated by compiler is called _________ constructor.

  1. Default Constructor
  2. User Defined Constructor
  3. Static Constructor
  4. Custom Constructor

3. Point out the odd one out

  1. Inheritance
  2. Polymorphism
  3. Abstraction
  4. Constructor

4. Which is the odd ne in the given option

  1. ASCII
  2. UNICODE
  3. ISOLATIN-1
  4. None of the mentioned

5. Default constructor requires how many parameters

  1. 3
  2. 2
  3. 0
  4. 1

6. How to access the object in the class?

  1. ternary operator
  2. scope resolution operator
  3. direct member access operator
  4. resolution operator

7. Which of these following members are not accessed by using direct member access operator?

  1. Public
  2. Private
  3. Protector
  4. both private & protected

8. Pick out the other definition of objects.

  1. member of the class
  2. associate of the class
  3. attribute of the class
  4. instance of the class

9. How many objects can present in a single class?

  1. 1
  2. 2
  3. 3
  4. as many as possible

10. A function in java is _______ by default .

  1. Public
  2. Private
  3. Protected
  4. None of the Above

You may also Find this interesting

Java Set 1

Java Set 2

JAVA Practise Paper Set 1 Answers

JAVA Practise Paper Set 2 Answers







Leave Comment