putting
public class node {
int x;
public static di[] obj=new di[1];
obj[0]=new di(22); ---------------------> from here
public node(int p)
Type: Posts; User: jack_nutt
putting
public class node {
int x;
public static di[] obj=new di[1];
obj[0]=new di(22); ---------------------> from here
public node(int p)
Exception in thread "main" java.lang.Error: Unresolved compilation problems:
Syntax error on token ";", { expected after this token
Syntax error, insert "}" to complete MethodBody
Syntax error...
Norm ,
thanks
I have one issue
i have three classes
public class dd {
public static void main(String[] args) {
// TODO Auto-generated method stub
i have object reference
ClassA[] obj=new classA[10]; in Class B
can i use 'obj[0]' in classC
how do we refernce objects??
Hey evyone,
I have three classes
I made objects out of classA in Class B...
For some refernce can i use those objects in class C...
Thanks