Search
.Management Sciences
A. Prints 2.5
B. Raises an exception
C. Raises an error as STATIC is used as a variable which is a keyword
D. None of these
Related Mcqs:
- Which of the following automatic type conversion will be possible ?
- A. byte to int B. short to int C. long to int D. int to long...
- Which method of the Applet class displays the result of applet code on screen ?
- A. paint() method B. main() method C. run() method D. drawString() method...
- Which statements are most accurate regarding the following classes? class A{private int i; protected int j; } class B extends A{ private int k; protected int m; } ?
- A. An object of B contains data fields j, k, m B. An object of B contains data fields k, m C. An object of B contains data fields j, m D. An object of B contains data fields i, j, k, m...
- Why we use array as a parameter of main method_________________?
- A. Can store multiple values B. It is syntax C. Both of above D. None of above...
- x=x+1 is equivalent to _________________?
- A. x++ B. ++x C. x=x-1 D. None of these...
Recent Comments