diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e6f50d7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +Example.class diff --git a/Example.class b/Example.class new file mode 100644 index 0000000..18bbe9f Binary files /dev/null and b/Example.class differ diff --git a/Example.java b/Example.java index a437e7e..295fdd8 100644 --- a/Example.java +++ b/Example.java @@ -1,16 +1,7 @@ -public class Example -{ -publi statc void main(String[] args) -{ -System.out.println("hello world"; - System.out.println("hello world") - System.out.println("hello world"); - System.out.println("hello world"); - System.out.println("hello world"); - System.out.println("hello world"); - System.out.println("hello world"); - System.out.println("hello world"); - System.out.println("hello world"); - System.out.println("hello world"); -} +public class Example { + public static void main(String[] args) { + for (int i = 0; i < 10; i++) { + System.out.println("hello world"); + } + } }