Ok so i am a noobie at Java as many of those editing my questions know, but im learning YAY!! now i have three classes a main class (Gun.class) and two sub classes (gunopen) and (gunopenboard) what i want to research so i don’t post like 50 totally noobie questions is:
how do i get the main class(Gun) to call the first class (gunopen) and when that finishes (also I’m assuming i will need a value to be returned from (gunopen) but i don’t know) call the second class (gunopenboard). I have no idea what this is called or anything so im not going to ask much just a good tutorial website something so i can study how to do the above!! thanks guys!!
You can start here – http://docs.oracle.com/javase/tutorial/java/javaOO/classes.html
Coming to your question , In your main () method in Gun class you can instantiate objects of gunopen using new keyword in java and call the appropriate method and then you can instantiate the object of the second class gunopenboard and call the appropriate method .