make ur qus clear
Login to rate this answer.
The above program will not compile in java as cout is not defined.
Login to rate this answer.
void main() is not accessible to JVM. Because it not public and static. JVM has no entry point.
Login to rate this answer.
There is no entry point for JVM in your program in case if it is an Java.
Login to rate this answer.
This program gives error becoz here j=100 but the value of j is not used.
Login to rate this answer.
syam
Answered On : Dec 14th, 2011
Compilation fails, why because it does not have proper syntax and structure.
Login to rate this answer.