View Single Post
  #19 (permalink)  
Old 08-30-2008, 09:00 PM
j2vdk's Avatar
j2vdk j2vdk is offline
Member
 
Join Date: Aug 2008
Posts: 45
j2vdk is on a distinguished road
Quote:
Originally Posted by masijade View Post
Java is case sensitive, but classes will be compiled and each one stored as a file. If the OS, then, is not case sensitive when it comes to the file system, then, if the classes are in the same package (therefore in the same directory), it will not work, because during compilation one class (whichever of the two is compiled last) will overwrite the other.
dont misunderstand me- one doubt----

im writing this program in single notepad, named case.java,,,, if i compile it i get single .class file, ie. case.class file,,,,

so only one .class file present,,,, how c.class and C.class will overwrite thennn
thanx for replying,,,,
Reply With Quote