MCQs > IT & Programming > Core Java > public class SomeClass { public static void main(String[] args) { System.out.println((String) null); } } What is the result of the following program?

Core Java MCQs

public class SomeClass { public static void main(String[] args) { System.out.println((String) null); } } What is the result of the following program?

Answer

Correct Answer: The code prints "null" on console.

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