Skip to main content

Posts

Showing posts with the label Java Objective Question

Java objective question for written Test | Java written test objective question

                               Java objective question All the best important question ------------------------------------------------------------------------ 1. Answer: Illegal combination of final and abstract class 2. Answer: 4 3. Answer:    error: bad operand types for binary operator '=='                 System.out.println("Helo"+10==10); 4. Answer:   error: integer number too large                 System.out.println(08); Q5. ====  class Nit { public static void main(String[] args) { m1(2); } public static void m1(int i) { if (i >= 0) { m1(i - 1); } System.out.println(" " + i); }} output:  -1  0  1  2 ================================== Q.2 ------ ...