Skip to Content
Former Member
Oct 30, 2007 at 12:13 PM



i have created a class which has a constructor which imports the value of a and b.

for this particular class iam creating an object obj1 by exporting the values for a and b to the constructor.

then iam creating an object called obj1 and obj2 without passing any parameters. because these objects should not execute that constructor rather it should call all the other methods.

for this program it shows an error message saying " the obligatory parameter A has no value assigned to it" at the lace where iam using create object obj2 and obj3.

can anyone help me what has to be done to resolve this.