• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Resolution of cyclic dependencies by javac

 
Ashish Chopra
Ranch Hand
Posts: 134
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I am reposting this as it got lost yesterday...

How does the java compiler reslove cyclic dependencies. Suppose I have the following code:



There is a clear cyclic dependency between A & B. How is this taken care of by the java compiler at compile time?

TIA
 
Ramakrishna Nalla
Ranch Hand
Posts: 61
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good Question... I love this type of Core questions...Thanks..

I think U may be get results what you want,by using -verbose option in compilation time.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic