Rewind a decade. A once bankrupt computer company known as Macintosh seriously gains ground in the home computer market boasting claims of a redesigned, user-friendly interface and more streamlined tasking. Branding themselves as the practical person’s computer, the company now known as Apple Computers has the reputation for being “quick and easy” with an almost religious following to boot. But are Apple Computers really the “quick and easy” option? Did Macintosh really reinvent themselves and their machines or was this craze a product of clever marketing? Proponents of Windows believe they use a superior operating system due to … [Read more...]

While there is plenty you can do with Java through non-interactive code, sooner or later you will encounter a problem that needs user input. There are three basic ways to do this.
1. Direct Typing
This is the simplest way. It allows the user to input variables of classes such as boolean, string, long, int, and double without creating an input box. In Eclipse, the text is typed into the console screen. Here’s an example:
import java.util.Scanner;
public class InputTest {
public static void main(String[] args){
Scanner inputScanner = new Scanner(System. in );
System. out .print( "What is your name? " ); … [Read more...]