What is the problem with the following code? The compiler "Codeblocks" finds problem in the first line..... | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the problem with the following code? The compiler "Codeblocks" finds problem in the first line.....

class Myclass { public static void main(String[ ]args) { System.out.println("Hello World"); } }

4th May 2018, 1:34 PM
Rajesh Mitra
1 Answer
+ 3
AFAIK, you cannot compile Java in codeblocks IDE. Use a Java IDE instead.
4th May 2018, 1:51 PM
Dev
Dev - avatar