Ijava2 - ijava2.com
General Information:
Latest News:
Small Java Lottery Program To Play The Lottery With Two Numbers 22 Aug 2013 | 03:30 am
The following Java application plays the lottery using two digits. This Java application does not use any methods aside from the main method. package Math; import java.util.Scanner; public class Lotte...
Calculate GCD Greatest Common Divisor Using While-loop 22 Aug 2013 | 03:03 am
Calculating the greatest common divisor of two integers ( digits ), can be done using just a while-loop, and no methods. This small Java application calculates the greatest common divisor without usin...
Java Application To Display The First Few Prime Numbers 22 Aug 2013 | 02:17 am
This Java application displays the first few prime numbers using a combination of if-statements, and a Java method. package Math; public class PrimeNumberMethod { public static void main( String[] arg...
Computer the Greatest Common Divisor GCD Using Java 22 Aug 2013 | 01:25 am
This Java application computes the greatest common divisor (GCD) of two numbers ( integers ). The Java application uses one method to calculate the greatest common divisor, and it then outputs the res...
Sample Event Handler Detects Where User Presses Enter Key 18 Aug 2013 | 06:28 am
This program detects when a user presses the enter key, and display an appropriate message when the given event occurs. package guis import java.awt.FlowLayout; import java.awt.event.ActionEvent; impo...
Payroll System Java Employee Testing Program 23 Jul 2013 | 04:24 am
This is the program to test the entire employee related classes. Generally, you can liken the entire employee related classes to a payroll system at a company. package employeeChapter10; public class ...
Base Plus Commission Employee Java Code 23 Jul 2013 | 04:21 am
This is the code for the BasePlusCommissionEmployee program. This code is useful for an employee that is also getting paid to work for a base salary, plus a commission. package employeeChapter10; publ...
Commission Employee Java Code Employee Program 23 Jul 2013 | 04:19 am
This is the code for the commissionEmployee. Employees hired on commission are also very common in the work force. package employeeChapter10; public class CommissionEmployee extends Employee { private...
Hourly Employee Java Code 23 Jul 2013 | 04:17 am
This is the code for the HourlyEmployee. This code will process an employee that is hired on an Hourly work schedule. Hourly employees are very common, and can also be called part-time employees, and ...
Java Code For Salaried Employee 23 Jul 2013 | 04:14 am
This is the code for the SalariedEmployee. It will process an employee that is hired on a salary schedule. package employeeChapter10; public class SalariedEmployee extends Employee { private double we...