Skip to content

Latest commit

 

History

History
23 lines (13 loc) · 577 Bytes

File metadata and controls

23 lines (13 loc) · 577 Bytes

Lab 1 – Java Exercises

This repository contains solutions for Lab 1.

Task 1 – NrDiff.java

Calculates the difference between numbers in an array with specific constraints.

Task 2 – SmallestNr.java

Finds the smallest number in a given array using custom logic.

Task 3 - Employee.java

Employee class. Each one has properties. Getters and setters.

Task 4 - Intern.java

Intern class that extends from Employee.

Task 5 - Main.java

Creates 10 Employees and printing properties.

Each file is self-contained and includes comments explaining the logic.