Skip to content

Commit cff3d6f

Browse files
committed
commit
1 parent 7275305 commit cff3d6f

14 files changed

+93
-4
lines changed

Diff for: .classpath

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
4+
<classpathentry kind="src" path=""/>
5+
<classpathentry kind="output" path=""/>
6+
</classpath>

Diff for: .project

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>java programming language</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.eclipse.jdt.core.javabuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
</buildSpec>
14+
<natures>
15+
<nature>org.eclipse.jdt.core.javanature</nature>
16+
</natures>
17+
<filteredResources>
18+
<filter>
19+
<id>1709225775218</id>
20+
<name></name>
21+
<type>30</type>
22+
<matcher>
23+
<id>org.eclipse.core.resources.regexFilterMatcher</id>
24+
<arguments>node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
25+
</matcher>
26+
</filter>
27+
</filteredResources>
28+
</projectDescription>

Diff for: Basics.class

489 Bytes
Binary file not shown.

Diff for: Basics.java

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import java.util.*;
2+
public class Basics{
3+
public static void main (string args[]){
4+
int A=5;
5+
int B=10;
6+
System.out.println(A+B);
7+
System.out.println(A-B);
8+
}
9+
}

Diff for: JavaBasicss.class

520 Bytes
Binary file not shown.

Diff for: JavaBasicss.java

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
public class JavaBasicss {
2+
public static void main(String[] args) {
3+
int sum;
4+
int a =5;
5+
int b =5;
6+
sum = a+b;
7+
System.out.println(sum);
8+
}
9+
}
10+
}

Diff for: hello.class

518 Bytes
Binary file not shown.

Diff for: hello.java

+8-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1-
class hello{
2-
public static void main(String args[]){
3-
System.out.println("Hello world");
4-
}
1+
2+
public class hello {
3+
4+
public static void main(String[] args) {
5+
// TODO Auto-generated method stub
6+
System.out.println("hello world");
7+
}
8+
59
}

Diff for: javaBasics.class

805 Bytes
Binary file not shown.

Diff for: javaBasics.java

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import java.util.Scanner;
2+
3+
public class javaBasics {
4+
5+
public static void main (String args[]){
6+
Scanner sc= new Scanner(System.in);
7+
int number= sc.nextInt();
8+
if (number%2==0){
9+
System.out.println("EVEN");
10+
}
11+
else{
12+
System.out.println("ODD");
13+
}
14+
}
15+
}

Diff for: javaBasiocs.class

667 Bytes
Binary file not shown.

Diff for: javaBasiocs.java

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
public class javaBasiocs {
2+
public static void main (string args[])
3+
int a=5;
4+
int B=10;
5+
system.out.println("sum ="+ (A+B))
6+
7+
}
8+
}

Diff for: operator.class

528 Bytes
Binary file not shown.

Diff for: operator.java

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
public class operator
2+
public static void main(String[] args) {
3+
int counter = 0;
4+
while(counter < 100){
5+
System.out.println("Hello World");
6+
counter ++;
7+
}}
8+
}
9+

0 commit comments

Comments
 (0)