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.!");
}
}
β
Correct Answer: (C)
Compiler error