Which of these is the correct way of inheriting class A by class B? - Study24x7
Social learning Network
24 May 2023 11:43 AM study24x7 study24x7

Which of these is the correct way of inheriting class A by class B?

A

class B + class A {}

B

class B inherits class A {}

C

class B extends A {}

D

class B extends class A {}

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles