MCQs > IT & Programming > Java > Which statement is true about the given program? public class Test24 { public static void main(String[] args) { byte a = 20; byte b = 4; byte c = a + b; System.out.println(c); } }

Java MCQs

Which statement is true about the given program? public class Test24 { public static 
void main(String[] args) { byte a = 20; byte b = 4; byte c = a + b; System.out.println(c); }
}

Answer

Correct Answer: It does not compile (compiler error).

Explanation:

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

Java Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

More Java MCQ Questions

search

Java Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it