Originally Posted by
Norm
That looks like an OS that is not case sensitive, like windows.
You can NOT have the files: c.class and C.class in the same folder!
u said-"tat looks like OS", cant underswtand this ...
if im giving names as c and C then it wont work, are u saying this??
suppose i give names cat & CAT as clas names- i get same error while executing,,,, but gets compiled...
TRY THIS::::: and tell me.... y im asking u is,i was asked this question an cant find the solution....anyway thanx for replying...
class cat{
cat(){
System.out.println("cat");
}
}
class CAT extends cat{
CAT(){
System.out.println("CAT");
}
}
class a{
public static void main(String ar[]){
new CAT();
}
}