If you have a variable that references an instance of a class (your object?) you can call its methods for what you want to do.
theReference.theMethod(); // call a method in class referenced by...
Type: Posts; User: Norm
If you have a variable that references an instance of a class (your object?) you can call its methods for what you want to do.
theReference.theMethod(); // call a method in class referenced by...
Can you make a small, simple program that compiles, executes and shows the problem?
I don't understand what you are saying is the problem.
Note: java programming conventions say that variable...