• Post Reply Bookmark Topic Watch Topic
  • New Topic

Call Lot of Classes in a Particular Order  RSS feed

 
Natalie Kopple
Ranch Hand
Posts: 325
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have many classes. I have to call each of them in a particular order (sequential order is important). Does the code shown below suffice? Or I have to do more than that?
 
Matthew Brown
Bartender
Posts: 4568
9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, that requirement is pretty vague, but you're not "calling" those classes. You're creating instances of them. Is that what you want to do?
 
Paul Clapham
Sheriff
Posts: 22834
43
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And yes, Java code like that is executed in the order it's written in.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!