Hello,
Here is my code
It works in case I call the method executionToto2 and if execution, I have a NullPointerException. I do not, the Operation class will be declared "private" and I want to access this class by Get ... which is public. I want to know how may ways are there to initiate a object. Any help on this will be appreciated. Thanks in advance.Code:Public void execution() { op = new op; } Public getOperation(){ return op; }
Bookmarks