A
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.!");
}
}
public class Example
{
}
public class Testing1
{
public static void main(String[] args)
{
System.out.println("Hello Boss.!");
}
}
- Correct Answer - Option(C)
- Views: 16
- Filed under category Java
- Hashtags:
Discusssion
Login to discuss.