YouTube magic that brings views, likes and suibscribers
Get Free YouTube Subscribers, Views and Likes

Java Program for Employee using Class and Object

Follow
BackCoding

In Java, the most searching program is of employee . An employee is an entity that can have several attributes like id, name, and Selary, etc. In order to create a java employee program, we need to create a class for the employee entity and create properties of the employees.

Output:

Enter ID:
10
Enter name:
Roshan
Enter Selary:
10000





ID=10
Name=Roshan
Selary=10000.0



















#BackCoding
#java
#programming
#shorts

posted by baburu54