Skip to content

Commit b9ea83d

Browse files
committed
Inittial Commit
1 parent 8a0488f commit b9ea83d

2 files changed

Lines changed: 27 additions & 0 deletions

File tree

Java-Code-Examples.iml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<module type="WEB_MODULE" version="4">
3+
<component name="NewModuleRootManager" inherit-compiler-output="true">
4+
<exclude-output />
5+
<content url="file://$MODULE_DIR$" />
6+
<orderEntry type="inheritedJdk" />
7+
<orderEntry type="sourceFolder" forTests="false" />
8+
</component>
9+
</module>

src/Main.java

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
public class Main{
2+
3+
public static void main(String[] args) {
4+
5+
int m=0;
6+
7+
System.out.println("Before the loop");
8+
9+
while(m<4){
10+
11+
System.out.println("Inside the loop");
12+
System.out.println("Value of the m " + m);
13+
m+=1;
14+
}
15+
16+
System.out.println("After the loop");
17+
}
18+
}

0 commit comments

Comments
 (0)