Giter VIP home page Giter VIP logo

java-employeeapp's Introduction

Java Employee Application

Introduction

This project is used to introduce

  • Java and JDK
  • Strongly Typed Aspect of Java
  • Object Oriented Aspect of Java

Thus it concentrates on how Classes and Objects are used in a Java program and how data types get implemented in Java.

Application

Layout

A Main class with the main starting method calls another method where the actual work is done.

The layout of the application is

Application Layout

Results

The main method calls another method to do all the work. A series of Java statements are executed to show various aspects of the language. Running the application produces the following output

*** Query Data
employeeApp.Company@61baa894

Original: 100
Negative: -100


*** Working with Number ***
Original divided 5 20
Original mod 2     0
Original divided 7 14
Original divided 7 14.285714285714286
Original divided 7 14.285714285714286

*** Printing Numbers and Characters ***
Debt: 100100
Debt: 100100

*** Printing Objects ***
employeeApp.Company@61baa894
id: 1
fname: Steve
lname: Green
salary: 45000.0
has401K: true
companyId: 1
healthPlanId: 1


id: 5
fname: My
lname: Name
salary: 45000.0
has401K: true
companyId: 2
healthPlanId: 2


*** Emp1 gets a raise
id: 1
fname: Steve
lname: Green
salary: 46350.0
has401K: true
companyId: 1
healthPlanId: 1


*** 401K amount for emp5
2250.0

*** Company Names ***
Combined
Company A Company B
No Vowels
c_mp_ny _

Steve Green
S t e v e   G r e e n

java-employeeapp's People

Contributors

jrmmba8314 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.