a) Protected constructor can be called directly
b) Protected constructor can only be called using super()
c) Protected constructor can be used outside package
d) protected constructor can be instantiated even if child is in a different package
What is true about protected constructor?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
What is true about protected constructor?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!