MCQs > IT & Programming > JSharp - J# > What will be the output when the following code is compiled and run? class Equates { Equates() { int a,b,c; a = b = c = 20; System.out.println(a); } public static void main(String str[]) { new Equates(); } }

JSharp - J# MCQs

What will be the output when the following code is compiled and run?

class Equates {
     Equates() {
       int a,b,c;
       a = b = c = 20;
       System.out.println(a);
     }
     public static void main(String str[]) {
       new Equates();
     }
}

Answer

Correct Answer: True is printed 

Explanation:

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

JSharp - J# Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

More JSharp - J# MCQ Questions

search

JSharp - J# Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it