hi friends,
Declaration of Top-level class Frog are legal, assuming animal is a existing class
A. protected class Frog extends Animal{}
B. private class Frog extends Animal{}
C. transient clas Frog extends Animal{}
D. native class Frog extends Animal{}
as per my knowledge Top-level class must be either public or default. so that way none of above is correct answer but when i try to compile this code with protected and private modifier their class file created. so what should be the answer ?
thanx in advance
jay...
