import java.applet.*;
import java.awt.*;
import java.awt.event.*;
class test12 {
int x,y;
public void show(int xx,int yy)
{
x=xx;
y=yy;
System.out.println("TestTest"+x+y);
}
}
public class test1 extends
Applet {
public void init ()
{
test12 labelbh[]=new test12[4];
labelbh[0].show();
}
Null Pointer exception is thrown when I try to access a member function of test12
I am trying to create an array of objects
Thanks in Advance
Regards
Bharathi