A1456 - Object Oriented Programming Through Java - Objective
A1456 - Object Oriented Programming Through Java - Objective
7 A java class inherits constants and methods of an interface using ____________ keyword.
II Fill in theblanks:
1 _____________ is a reference to the current object on which the method was invoked
6 A java class inherits constants and methods of an interface using ____________ keyword.
1 Which of the following is the correct way of importing an entire package ‘pkg’? [ ]
a) import pkg. b) Import pkg. c) import pkg.*; d) Import pkg.*
2 Which block must always be followed by at least one block that is either a catch [ ]
block or a finally block?
a) try b) catch c) finally d) All of these
1 A java class inherits constants and methods of an interface using ____________ keyword.
6 _____________ is a reference to the current object on which the method was invoked
5 A java class inherits constants and methods of an interface using ____________ keyword.
9 _____________ is a reference to the current object on which the method was invoked
10 A sub class can call a constructor method defined by its super class by use of the __________
keyword.