windows - How come this is happening in java? -


i using windows , java se 7.

the class created testperson, saved testperson.java.

but when try compile saying javac testperson.java compilation succesfull , testperson.class created exact case letters.

but, java case sensitive, right?

how come happening? if give wrong case, should show error. there specific reason? however, @ run time shows error.

java case-sensitive, windows file system may not be.

unless have 2 classes same name (case-insensitive), should not problem. java technically allows such thing (class hello , class hello), actively asking trouble. same goes non-ascii class names or long class names (which again, fine java, maybe not filesystem has store class files).


Comments