Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Regardiung compilation java classes

 
raj talatam
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi every One ,

i have 3 java classes for example COne, CTwo,CThree . COne depends on CTWo, Ctwo depends On CThree , So to compile COne i must first compile CTWo, and CThree, if i issue javac -d . *.java , it is working fine my question how java compiler recognizes the order of the java files to compile to produce class files

Thanks regards
Raj
 
Ivan Jozsef Balazs
Rancher
Posts: 979
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
They are compiled at the same time.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic