Hi All,
when i compile the following code i get compile time error as mentioned afte rthe code:
final class Shelly
{
public static void main(
String args[])
{
public void call()
{
System.out.println("NOT CALLING");
}
}
}
ERROR D:\shell\Personal\Tech\Java\Test.java:5: illegal start of expression
public void call()
^
D:\shell\Personal\Tech\Java\Test.java:9: ';' expected
}
^
2 errors
Tool completed with exit code 1