Answers for "how to use an object from another class java"

-2

how to access methods from another class in java

public class Alpha {
     public void DoSomethingAlpha() {
          Beta cbeta = new Beta();
          cbeta.DoSomethingBeta();  //?
     }
}
Posted by: Guest on December-22-2020

Code answers related to "how to use an object from another class java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language