Results 1 to 2 of 2
Thread: inheritance basic.
- 08-02-2008, 08:23 PM #1
Member
- Join Date
- Dec 2007
- Posts
- 8
- Rep Power
- 0
inheritance basic.
Hi all,
Please bear with me. i have a question regarding inheritance.
1. a superclass having more than one constructor
2. sub class implements just default constructor ( with no arguements ).
is this legal to instantiate sub-class by passing parameters since the constructor with such arguements is provided in superclass, ?
thanks
- 08-02-2008, 09:35 PM #2
Similar Threads
-
inheritance and aggregation
By java_fun2007 in forum New To JavaReplies: 3Last Post: 12-13-2007, 01:36 PM -
Delegation vs inheritance
By javaplus in forum Advanced JavaReplies: 1Last Post: 12-07-2007, 09:07 PM -
Inheritance
By mew in forum New To JavaReplies: 1Last Post: 12-07-2007, 06:08 PM -
Multiple Inheritance
By mew in forum New To JavaReplies: 1Last Post: 12-01-2007, 10:04 PM -
Inheritance in GUI
By Marty in forum SWT / JFaceReplies: 2Last Post: 05-11-2007, 12:54 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks