-1

my screenshot]([![https://prnt.sc/nj6ec2

Why public static method from class of src.test.java packet is not importing to classes of src.main.java ?

When I print MainTest in classes of src.main.java packet, the IDE can't recognize it

Igor Vlasuyk
  • 514
  • 2
  • 10
  • 22

1 Answers1

1

Classes and methods in src/test/java are intended for testing only. You should never attempt to use these in any code that is in src/main/java which should only contain code that is part of the app.

Code-Apprentice
  • 81,660
  • 23
  • 145
  • 268