0

Write a program that will perform all the arithmetic operation. Use inheritance and method overriding

java program

27th Jan 2018, 1:23 PM
Akiti Wycliffe
Akiti Wycliffe - avatar
2 odpowiedzi
0
public class Arithmetic operation{ public static void main (String [] args){ int a =3; int b =5 Scanner Sc = new Scanner (System.In); public Arithmetic operation extend Multiplication (); int a =1; System. out.println (a); public void Multiplication (); a = 3*5; system. out.println ("a"); } }
8th Feb 2018, 11:51 PM
Simon Wudah
Simon Wudah - avatar
- 1
hola
30th Jan 2018, 3:06 AM
Moses Alfaro
Moses Alfaro - avatar