class ABC
{
{
System.out.println("Inside no funtion ");
}
public static void main(
String arg[])
{
ABC a = new ABC();
}
}
The output is ==> Inside no function
1. Why the above code didn't give an error ?
2. and why is it giving the output ? => Inside no function
Sorry for creating an incomplete post "Static Environment"
Regards