πŸ“Š JAVA
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
πŸ’¬ Discuss
βœ… Correct Answer: (C) Compiler error

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
124615
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
93%
Success Rate