We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a0488f commit b9ea83dCopy full SHA for b9ea83d
2 files changed
Java-Code-Examples.iml
@@ -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
@@ -0,0 +1,18 @@
+public class Main{
+
+ public static void main(String[] args) {
+ int m=0;
+ System.out.println("Before the loop");
+ 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