Discussion Forum

  1. Home
  2. »
  3. Languages
  4. »
  5. Which of these is correct...
Which of these is correct way of inheriting class A by class B?

Class B + class A {}

Class B inherits class A {}

Class B extends A {}

Class B extends class A {}

Answer: C . Class B extends A {}
0Shares
0 0

If you think the posted answer is wrong or Confused About the Answer? Ask for Details Here

Know Explanation? Add it Here
we’ll review your comment and contact you soon….

Leave a Reply

Your email address will not be published. Required fields are marked *

error: You are not allowed to do so.....
0Shares
0
Scroll to Top