MCQs > IT & Programming > Core Java > Output of Program: class Test {public static void main(String[] ar) {int i=0; if(i) System.out.print("hi"); else System.out.print("bye"); } }

Core Java MCQs

Output of Program: class Test {public static void main(String[] ar) {int i=0; if(i) System.out.print("hi"); else System.out.print("bye"); } }

Answer

Correct Answer: Compilation error: incompatible types

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Core Java Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Core Java Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it