Quiz
How could you make sure that the following lines of code will never cause the program to terminate?
Point p = getPoint();
x = p.getX(); y = p.getY();
Assume you have a class called myClass inside package aaa.bbb
- Where do you need to put the myClass.class file ?
- Where does the CLASSPATH needs to point to execute the myClass.class ?
Is there any meaning for a final abstract method?