The document describes a Java program that stores employee information like ID number, name, joining date, designation, department, salary and other details in an array. The program accepts an employee ID from the command line and displays the corresponding employee details by searching through the array. The program code defines an Employee class to store the employee object and a main method that parses the command line argument, populates the employee array, searches for matching ID and prints the result.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
22 views
JAVA Worksheet 1
The document describes a Java program that stores employee information like ID number, name, joining date, designation, department, salary and other details in an array. The program accepts an employee ID from the command line and displays the corresponding employee details by searching through the array. The program code defines an Employee class to store the employee object and a main method that parses the command line argument, populates the employee array, searches for matching ID and prints the result.