Operators
© examsiri.com
Question : 22 of 23
Marks:
+1,
-0
Given:
What is the result?
class Knowing {
  static final long tooth = 343L;
  static long doIt(long tooth) {
   System.out.print(++tooth + " ");
   return ++tooth;
  }
  public static void main(String[] args) {
   System.out.print(tooth + " ");
   final long tooth = 340L;
   new Knowing().doIt(tooth);
   System.out.println(tooth);
} }What is the result?
Go to Question: