MCPcopy Create free account
hub / github.com/PrajaktaSathe/Java / arithmOp

Class arithmOp

Programs/StudentInterface.java:7–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5 public void sub(int a, int b);
6}
7class arithmOp implements it1 {
8 public void add(int p, int q) {
9 System.out.println("Addition of two numbers: " + (p + q));
10 }
11 public void sub(int p, int q) {
12 System.out.println("Addition of two numbers: " + (p - q));
13 }
14}
15
16public class StudentInterface {
17 public static void main(String[] args) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected