Back to articles
Debugging in Java

Debugging in Java

via Dev.to BeginnersKeerthiga P

❌ Error 1: Semicolon after Class public class Home ; { public static void main ( String [] args ) { System . out . println ( "Hello World" ); } } ❌ Error 2: Wrong { Position public class Home ; { public static void main ( String [] args ) { System . out . println ( "Hello World" ); } } ❌ Error 3: string instead of String public class Home { public static void main ( string [] args ) { System . out . println ( "Hello World" ); } } ❌ Error 4: Wrong Array Syntax public class Home { public static void main ( String () args ) { System . out . println ( "Hello World" ); } } ❌ Error 5: Semicolon after main public class Home { public static void main ( String [] args ); { System . out . println ( "Hello World" ); } } ❌ Error 6: System.Out public class Home { public static void main ( String [] args ) { System . Out . println ( "Hello World" ); } } ❌ Error 7: PrintLn public class Home { public static void main ( String [] args ) { System . out . PrintLn ( "Hello World" ); } } ❌ Error 8: Missing

Continue reading on Dev.to Beginners

Opens in a new tab

Read Full Article
5 views

Related Articles