DIT MCQ's
DIT MCQ's
DIT (JAVA)
Time : 10 Min.
Multiple choice Questions . 10 Marks.
If(n==0)
System.out.println(n);
a) 0. b) 1 c) 2.
3. Inheritance is.
a) the addition numbers establish what makes the derived class object different from the base.
b) the addition numbers establish what makes the derived class object some qualities different from
the base.
c) the addition numbers establish what makes the derived class object same as the base.
8. Java allows you to define several methods in a class with the same name as long
as each method has a set of parameters that is unique called.
9. which refers to the current object for which the method is being called.