Answers for "how to access a method from another class in a another package java"

0

import classes from another project java

Right Click > Project.
Click Project Properties.
Click Java Build Path.
Click the Projects Tab.
Click the Add Button.
Select the Project.
Click OK.
Posted by: Guest on May-20-2020
-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 access a method from another class in a another package java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language