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

Java MCQs

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

Answer

Correct Answer: It compiles, runs, outputs 24 and exits.

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

search

Java Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it