Upload the .java file(s) the lab asks for. Your code is compiled and run against the lab's test cases in a sandbox. Grading is by behaviour: any approach that produces the right results earns the points — method names, output wording and file names are forgiven where possible. You'll get a score, per-test feedback, and a receipt code to paste into the LMS. You can resubmit; your best score is kept.
Autograded points cover the code portion of each lab. Reflection notes and screenshots are still submitted to the LMS and graded by the instructor.