Describe The Syntax Of Single Inheritance In Java?

1

1 Answers

vellal subhash Profile
vellal subhash answered
Class vehicle {car(){}bus(){}}class properties extends vehicle {wheel(){}speed(){)}class A{public static void main(string arga{}){properties pr= new properties()pr.speed();pr.car();}}

Answer Question

Anonymous