A

Admin • 825.56K Points
Coach

Q. What is the output of the below Java program with two classes?

Code:
//Testing1.java
public class Example
{

}
public class Testing1
{
public static void main(String[] args)
{
System.out.println("Hello Boss.!");
}
}
  • (A) Hello Boss.!
  • (B) No Output
  • (C) Compiler error
  • (D) None of the above
  • Correct Answer - Option(C)
  • Views: 16
  • Filed under category Java
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.