package Base;
class Base{
protected void amethod(){
System.out.println("amethod");
}}
class Class1 extends Base{
public static void main(
String argv[]){
Base b = new Base();
b.amethod();
}
}//Why it can compile but throw a "NoClassDefFoundErro"
second:
In the
SCJP examination,whether it should need us to different from reserved words
and key words or not :
if it demanded,please tell me what are the keywords,and what are reserved
words in SCJP examination?
Thanks a lot~~
[ February 23, 2002: Message edited by: Tu Ran ]