Computer Applications
Write the Java statement for the following mathematical expression : x =
Related Questions
State the number of bytes and bits occupied by a character array of 20 elements.
If
String x = "Computer"; String y = "Science";
What will the following return?
(a) System.out.print(x.substring(2,6));
(b) System.out.print(x.indexOf(x.charAt(5)));
Find the value of
++a * (a++ + 5) + 3 * --a
, if a = 12.State the type of errors, if any in the following statements.
(a)
switch (x < 2)
(b)
int a = 100, b = 0; System.out.println (a / b);