Skip to content

Commit 2e4ead3

Browse files
Difference class also added
1 parent 580a068 commit 2e4ead3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/Main.java

+7
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@ public multiply(){
1212
System.out.println(a*b);
1313
}
1414
}
15+
class subtraction{
16+
public subtraction(){
17+
int a=7;
18+
int b=9;
19+
System.out.println(b-a);
20+
}
21+
}
1522

1623
public class Main {
1724
public static void main(String[] args) {

0 commit comments

Comments
 (0)