import java.io.*;

class Employee_Details
{

public static void main(String args[]) throws IOException
{

int eno,eage;
String ename;
float esal;

BufferedReader br=new BufferedReader(new InputStreamReader(System.in));

System.out.println(“Enter The Employee Number: “);

eno=Integer.parseInt(br.readLine());

System.out.println(“Enter The Employee Name: “);

ename=br.readLine();

System.out.println(“Enter The Employee Age: “);

eage=Integer.parseInt(br.readLine());

System.out.println(“Enter The Employee Salary: “);

esal=Float.parseFloat(br.readLine());

System.out.println(“Employee Number: “+eno);
System.out.println(“Employee Name: “+ename);
System.out.println(“Employee Age: “+eage);
System.out.println(“Employee Salary: “+esal);

}
}

122,968 total views, 586 views today

Get Free Email Updates..!
Join us for FREE to get instant email updates..! GobsInfo- Everything Unlimited
We hate spam. Your email address will not be sold or shared with anyone else.

5,291 Thoughts to “Java Program To Accept Employee Details And Display It”

  1. Hi, I think your blog might be having browser compatibility issues.
    When I look at your website in Safari, it looks fine but when opening in Internet Explorer, it has some overlapping.
    I just wanted to give you a quick heads up! Other then that, excellent
    blog!

  2. Yes! Finally someone writes about ogrody wiosną.

Leave a Comment