Register on the forum now to remove ALL ads + popups + get access to tons of hidden content for members only!

Go Back   Site Owners Forums - Webmaster Forums > Web Programming > Programming General > Java


Thread Tools Rate Thread Display Modes
Old 11-16-2017, 01:46 AM   #1
Registered User
Join Date: Nov 2017
Posts: 3,786
Is constructor inherited?

Is constructor inherited?
sunled is offline   Reply With Quote

Old 12-11-2017, 08:39 PM   #2
Registered User
Join Date: Sep 2017
Posts: 208
Unlike fields, methods, and nested classes ,Constructors are not class members. A subclass inherits all the members (fields, methods, and nested classes) from its superclass. Constructors are not members, so they are not inherited by subclasses, but the constructor of the superclass can be invoked from the subclass.
travelowebseo is offline   Reply With Quote
Old 12-14-2017, 02:33 AM   #3
Registered User
Join Date: Oct 2017
Posts: 82
constructor can be overloaded only class can be inherited
karthiknagaraja is offline   Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

All times are GMT -7. The time now is 12:18 PM.

Powered by vBulletin Copyright © 2013 vBulletin Solutions, Inc.