Myclass java programm is not running even if I type it as it is | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Myclass java programm is not running even if I type it as it is

4th Mar 2018, 7:00 AM
Ravina Jain
6 Answers
+ 10
1 more thing , if u r printing only 1 line ... then U can replace "println" with "print" only
4th Mar 2018, 7:51 AM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 3
Show the code please. Then we can help you.
4th Mar 2018, 7:10 AM
cHiRaG GhOsH
cHiRaG GhOsH - avatar
+ 3
Class Hello{ public static void main(string[ ] args){ System.out.println("HelloWorld"); } }
4th Mar 2018, 7:21 AM
Ravina Jain
+ 3
class instead of Class. String instead of string. Correct these. Java is case-sensitive.
4th Mar 2018, 7:23 AM
cHiRaG GhOsH
cHiRaG GhOsH - avatar
+ 1
ok i will try
4th Mar 2018, 7:22 AM
Ravina Jain
+ 1
tq it works
4th Mar 2018, 7:25 AM
Ravina Jain