A tricky program 2 to Java Beginners,
Question:- You should bring the output by not modifying the main method,The output is "Great Java Programmer".
class NMM //No main method
{
public static void main(String []args)
{
System.out.println(âJavaâ);
}
}
Seems tricky? Anybody?