enter image description here

Good day, experts! Need help, I do not rummage how to do it (((

1. Предыдущие 3 лабораторные работы (№1, 2, 3) разбить по файлам. 

Each class must be in a separate file. Each laboratory work must be in a separate package. The generic main method should call all tests.

  • five
    Paste the code with the text in the question, not the picture, no one will be reprinted from the picture. To edit a question, click the "edit" button below the question. - Sergey Glazirin
  • five
    >> I don’t rummage about how to do it << you don’t fit in with your nickname ... - test123
  • one
    In general, the question is very specific. Why use Stackoverflow? Why not a community of admins, or superuser? Simple, usually, programmers fill the air conditioners, repair ATMs, and then cut the text into files. In general, I personally find it difficult to attribute your task to programming - test123
  • Now I would stick to the nickname ..... Here the code is not important, in fact there are 3 correctly working programs (labs), these are like 3 different micro programs, each in its own package And I don’t really understand the task: "each class should be in a separate file, "and the general method main should call all tests" And so I ask, I don’t know for sure what to do - Hacker
  • It seems to be done on the screen. What exactly is not clear? - Mikhail Grebenev

1 answer 1

Based on the wording of the question, everything is obvious here: classes and so are usually created as separate files (if you do not have nested classes there). And to make everything run from one main () you need (lo and behold!) To create one MainClass for all laboratory and tests. And if you need a more specific answer, then the question should contain a specific code.