Skip to content

Commit 195ba15

Browse files
committed
Loops
1 parent 1b39525 commit 195ba15

132 files changed

Lines changed: 5592 additions & 1574 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.metadata/.log

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,43 @@ Command-line arguments: -os macosx -ws cocoa -arch x86_64 -product org.eclipse.
88

99
!ENTRY org.eclipse.core.net 1 0 2018-10-12 20:58:33.800
1010
!MESSAGE System property http.nonProxyHosts has been set to local|*.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences
11+
!SESSION 2018-10-15 20:18:11.062 -----------------------------------------------
12+
eclipse.buildId=4.5.2.M20160212-1500
13+
java.version=1.8.0_181
14+
java.vendor=Oracle Corporation
15+
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_IN
16+
Framework arguments: -product org.eclipse.epp.package.java.product -keyring /Users/anshul/.eclipse_keyring -showlocation
17+
Command-line arguments: -os macosx -ws cocoa -arch x86_64 -product org.eclipse.epp.package.java.product -keyring /Users/anshul/.eclipse_keyring -showlocation
18+
19+
!ENTRY org.eclipse.core.net 1 0 2018-10-15 20:18:21.829
20+
!MESSAGE System property http.nonProxyHosts has been set to local|*.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences
21+
!SESSION 2018-10-17 21:07:55.075 -----------------------------------------------
22+
eclipse.buildId=4.5.2.M20160212-1500
23+
java.version=1.8.0_181
24+
java.vendor=Oracle Corporation
25+
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_IN
26+
Framework arguments: -product org.eclipse.epp.package.java.product -keyring /Users/anshul/.eclipse_keyring -showlocation
27+
Command-line arguments: -os macosx -ws cocoa -arch x86_64 -product org.eclipse.epp.package.java.product -keyring /Users/anshul/.eclipse_keyring -showlocation
28+
29+
!ENTRY org.eclipse.core.net 1 0 2018-10-17 21:08:05.960
30+
!MESSAGE System property http.nonProxyHosts has been set to local|*.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences
31+
!SESSION 2018-10-22 20:43:52.225 -----------------------------------------------
32+
eclipse.buildId=4.5.2.M20160212-1500
33+
java.version=1.8.0_181
34+
java.vendor=Oracle Corporation
35+
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_IN
36+
Framework arguments: -product org.eclipse.epp.package.java.product -keyring /Users/anshul/.eclipse_keyring -showlocation
37+
Command-line arguments: -os macosx -ws cocoa -arch x86_64 -product org.eclipse.epp.package.java.product -keyring /Users/anshul/.eclipse_keyring -showlocation
38+
39+
!ENTRY org.eclipse.core.net 1 0 2018-10-22 20:44:03.023
40+
!MESSAGE System property http.nonProxyHosts has been set to local|*.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences
41+
!SESSION 2018-10-23 21:01:16.025 -----------------------------------------------
42+
eclipse.buildId=4.5.2.M20160212-1500
43+
java.version=1.8.0_181
44+
java.vendor=Oracle Corporation
45+
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_IN
46+
Framework arguments: -product org.eclipse.epp.package.java.product -keyring /Users/anshul/.eclipse_keyring -showlocation
47+
Command-line arguments: -os macosx -ws cocoa -arch x86_64 -product org.eclipse.epp.package.java.product -keyring /Users/anshul/.eclipse_keyring -showlocation
48+
49+
!ENTRY org.eclipse.core.net 1 0 2018-10-23 21:01:26.182
50+
!MESSAGE System property http.nonProxyHosts has been set to local|*.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
2+
public class SecoundJavaClass {
3+
4+
public static void main(String[] args) {
5+
6+
String str1 = "Hello";
7+
String str2 = "Team";
8+
9+
int a = 200;
10+
int b =300;
11+
12+
/*System.out.println(str1 + " " + str2);
13+
System.out.println( a + b);
14+
15+
System.out.println( a + b + str1 + str2);
16+
System.out.println(str1 + str2 + a + b);
17+
*/
18+
19+
if(a<1000){
20+
System.out.println("A is less then 1000");
21+
}
22+
23+
24+
}
25+
26+
}

.metadata/.plugins/org.eclipse.epp.logging.aeri.ide/org.eclipse.epp.logging.aeri.ide.server/remote-history/_0.frq renamed to .metadata/.plugins/org.eclipse.core.resources/.history/14/908cf48ad9d600181006e1692fd2ca17

File renamed without changes.
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
2+
public class SecoundJavaClass {
3+
4+
public static void main(String[] args) {
5+
6+
String str1 = "Hello";
7+
String str2 = "Team";
8+
9+
int a = 200;
10+
int b =300;
11+
12+
/*System.out.println(str1 + " " + str2);
13+
System.out.println( a + b);
14+
15+
System.out.println( a + b + str1 + str2);
16+
System.out.println(str1 + str2 + a + b);
17+
*/
18+
19+
/*if(a>1000){
20+
System.out.println("A is greater then 1000");
21+
} else {
22+
System.out.println("A is less then 1000");
23+
}*/
24+
25+
if(a==100){
26+
System.out.println("A is 100");
27+
}else if (a==200) {
28+
System.out.println("A is 200");
29+
}else if (a==300) {
30+
System.out.println("A is 300");
31+
}else{
32+
System.out.println("Value doesn't present");
33+
}
34+
35+
}
36+
37+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
public class JAVALoops {
3+
4+
public static void main(String[] args) {
5+
6+
for (int i = 0; i < 10; i++) {
7+
System.out.println(i);
8+
9+
}
10+
11+
}
12+
13+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
public class JAVALoops {
3+
4+
public static void main(String[] args) {
5+
6+
for (int i = 0; i < 15; i++) {
7+
System.out.println(i);
8+
9+
}
10+
11+
}
12+
13+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
2+
public class SecoundJavaClass {
3+
4+
public static void main(String[] args) {
5+
// TODO Auto-generated method stub
6+
7+
}
8+
9+
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
2+
public class JAVALoops {
3+
4+
public static void main(String[] args) {
5+
6+
/*for (int i = 0; i < 15; i++) {
7+
System.out.println(i);
8+
9+
}*/
10+
11+
/*int i =0;
12+
13+
while (i<=10) {
14+
System.out.println(i);
15+
i++;
16+
}
17+
18+
while(true){
19+
System.err.println(i);
20+
i++;
21+
}*/
22+
23+
int j = 0;
24+
25+
do{
26+
System.out.println(j);
27+
}while(j<0);
28+
29+
}
30+
31+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
2+
public class SecoundJavaClass {
3+
4+
public static void main(String[] args) {
5+
6+
String str1 = "Hello";
7+
String str2 = "Team";
8+
9+
int a = 200;
10+
int b =300;
11+
12+
System.out.println(str1 + " " + str2);
13+
System.out.println( a + b);
14+
15+
}
16+
17+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
2+
public class JAVALoops {
3+
4+
public static void main(String[] args) {
5+
6+
/*for (int i = 0; i < 15; i++) {
7+
System.out.println(i);
8+
9+
}*/
10+
11+
int i =0;
12+
13+
while (i<=10) {
14+
System.out.println(i);
15+
i++;
16+
}
17+
18+
}
19+
20+
}

0 commit comments

Comments
 (0)