Hello Rafal,
One of the main requirements of the JavaPassion J2EE class is to actually
have a basic knowledge of Java. It would be best for you to start learning
the basics. We have a course here in JavaPassion for Java programming in
case you are not aware of it:
http://www.javapassion.com/portal
Hi Rafal,
I've noticed that you are asking very basic Java question in a Java EE 6
group. Probably you will get more help (and it would be more apropriate) to
consult a Java mailing list
try these:
http://www.google.com/search?client=ubuntu&channel=fs&q=java+mailing+list&ie=utf-8&oe=utf-8
regar
Hi rafel,
In a class, when you are define the parametrized constructor, you have to
explicitly declare the no argument constructor.
So pls try with the following code:
*public* *class* SecuredPage *extends *WebPage {
*public *SecuredPage(PageParameters pageParameters) { **
*super*( pageParame
Use the super keyword to invoke the base class constructor from the subclass
constructor (which is zero-parameter).
This example explains how this is done -
http://www.javaissues.com/2011/02/how-constructors-work-in-java.html
For more such examples, visit
http://icontraining.info/java-j2ee-code-ex
Basic class is SecuredPage.
In subclass HittegodsFinnInnlevSokRes there is getInnlevEDUpdate() method.
This method must be just invoked in HittegodsRegInnlev.
I can do it in static way but because of other things I must use non static method.
Please have a look for below 3 classes.
public clas
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;
}
}
--
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)