Thank you but it doesn't work in my case.

 

Dnia 26-07-2011 o godz. 15:56 jeffrey napisał(a):

Will this work for you?:

package com.mysamples;

public class ConstructorStudyParent {
String Name;
public ConstructorStudyParent(String name) {
this.Name = name;
}

}

-------------------------------------------
package com.mysamples;

public class ConstructorStudyChild extends ConstructorStudyParent {
String ChildName;
public ConstructorStudyChild() {
super("SettingParentConstructor");


}

}
-------------------------------------------------------------


2011/7/26 Rafał Laczek <rafal_lac...@wp.pl>

 

Hi,

 

In base class I have constructor with parameters.

In subclass I must have constructor without parameters.

I canâ t add non-parameters constructor in basic class.

How to do it?

Regards,

Rafal

 


 

--
You received this message because you are subscribed to the Google
Groups "Java EE (J2EE) Programming with Passion!" group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en



--
You received this message because you are subscribed to the Google
Groups "Java EE (J2EE) Programming with Passion!" group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

Reply via email to