Java

Program to Create an Application that Represents Biodata Form

By June 4, 2016 November 9th, 2016 21 Comments

/* Java Program to Create an Application that Represents Biodata Form */

import java.lang.*;
import java.io.*;
class EmployeeS
{
int age, num;
String nme, add;
void emp_Info(int x)
{
try
{
num = x;
DataInputStream dts=new DataInputStream(System.in);
System.out.println(“Enter Your Name:”);
nme = dts.readLine();
System.out.println(“\nEnter Your Address:”);
add = dts.readLine();
System.out.println(“\nEnter Your Age:”);
age = Integer.parseInt(dts.readLine());
}
catch(Exception e)
{
System.out.println(e.getMessage());
}
}
}
class EmployeeM extends EmployeeS
{
String dep;
int sal;
void emp_dep(int da)

{
try
{
DataInputStream pts=new DataInputStream(System.in);
System.out.println(“\nEnter your Department:”);
dep = pts.readLine();
System.out.println(“\nEnter your Salary:”);
sal = Integer.parseInt(pts.readLine());
sal = sal-((sal*da)/100);
}
catch(Exception e)
{
System.out.println(e.getMessage());
}
}
}
class EmployeeF extends EmployeeM
{
void show_info()
{
System.out.println(“\nThe name of Employee is:” + nme);
System.out.println(“\nThe number of Employee is:” + num);
System.out.println(“\nThe address of Employee is:”
+ add);
System.out.println(“\nThe age of Employee is:” + age);
System.out.println(“\nThe department of Employee is:”
+ dep);
System.out.println(“\nThe salary of Employee is:” + sal);
}
}
class Main
{

public static void main(String arg[])
{
EmployeeF ep = new EmployeeF();
ep.emp_Info(30);
ep.emp_dep(5);
ep.show_info();
}
}





Output:

Screenshot (307)

21 Comments

  • Aw, this was a very nice post. In concept I want to put in writing like this moreover ?taking time and actual effort to make a very good article?however what can I say?I procrastinate alot and under no circumstances seem to get one thing done.

  • very good submit, i certainly love this web site, keep on it

  • You made some decent points there. I looked on the web for the problem and found most people will go along with with your website.

  • yeezy says:

    This actually answered my drawback, thank you!

  • I am usually to running a blog and i actually recognize your content. The article has really peaks my interest. I am going to bookmark your website and maintain checking for brand spanking new information.

  • nike dunks says:

    This web site can be a stroll-by means of for the entire information you wished about this and didn抰 know who to ask. Glimpse here, and also you抣l definitely discover it.

  • very nice publish, i definitely love this web site, carry on it

  • There are some fascinating closing dates in this article however I don抰 know if I see all of them center to heart. There’s some validity but I will take maintain opinion till I look into it further. Good article , thanks and we wish more! Added to FeedBurner as nicely

  • yeezys says:

    This actually answered my downside, thank you!

  • An attention-grabbing discussion is worth comment. I think that it is best to write more on this subject, it won’t be a taboo subject but generally people are not sufficient to talk on such topics. To the next. Cheers

  • I’m commenting to make you know of the wonderful discovery my friend’s girl went through reading yuor web blog. She learned such a lot of pieces, with the inclusion of what it is like to possess a great giving nature to let certain people quite simply understand a variety of complicated matters. You really did more than our desires. Many thanks for churning out those practical, dependable, educational and as well as fun thoughts on the topic to Gloria.

  • Your home is valueble for me. Thanks!?

  • yeezy shoes says:

    I and also my buddies have already been analyzing the best strategies found on the blog and then the sudden I got a terrible feeling I never expressed respect to the web blog owner for those tips. These young boys were definitely for this reason happy to see all of them and have definitely been tapping into those things. Appreciation for being considerably considerate and also for utilizing this kind of high-quality issues most people are really wanting to know about. Our honest regret for not expressing appreciation to sooner.

  • you’ve gotten a terrific blog here! would you wish to make some invite posts on my weblog?

  • very good publish, i certainly love this website, keep on it

  • yeezy shoes says:

    I precisely had to thank you so much once more. I do not know the things that I might have taken care of in the absence of those pointers contributed by you regarding that industry. Completely was an absolute frightening scenario in my position, however , discovering your specialised style you resolved it forced me to jump for joy. Now i am happy for the work as well as trust you realize what a powerful job that you are carrying out training the rest with the aid of your web blog. I know that you have never got to know all of us.

  • When I originally commented I clicked the -Notify me when new comments are added- checkbox and now each time a remark is added I get 4 emails with the identical comment. Is there any manner you possibly can remove me from that service? Thanks!

  • An impressive share, I just given this onto a colleague who was doing a bit evaluation on this. And he actually bought me breakfast as a result of I found it for him.. smile. So let me reword that: Thnx for the treat! But yeah Thnkx for spending the time to debate this, I really feel strongly about it and love studying extra on this topic. If possible, as you become expertise, would you mind updating your weblog with extra details? It’s highly useful for me. Huge thumb up for this weblog submit!

  • very good put up, i actually love this web site, carry on it

  • Your home is valueble for me. Thanks!?

  • yeezy shoes says:

    I really wanted to jot down a small remark so as to thank you for all of the pleasant information you are sharing here. My time intensive internet look up has at the end of the day been compensated with extremely good concept to write about with my friends. I ‘d tell you that many of us readers actually are truly lucky to live in a decent community with many wonderful people with good concepts. I feel rather privileged to have encountered your website and look forward to so many more entertaining minutes reading here. Thanks a lot again for all the details.

Leave a Reply