Author

Java Tutorial #1 — “Hello World”, Simple i/o

Topics Discussed: In the most abstract fashion possible, I explain what we need to include and write to output text to the screen using java. Source Code for lesson 1: import java.util.Scanner; public class Jtutorial1 { public static void main(String args[]){ Scanner input = new Scanner(System.in); System.out.println("Hello World"); System.out.println("Enter a number: "); int a; //Integer.... » read more

Java Tutorial #2 — New data types, variable naming and arithmetic.

Topics Discussed: Introduced new data types, when to use said data types, variable naming schemes, and how the java compiler handles arithmetic Source Code for Lesson 2: import java.util.Scanner; public class Jtutorial1 { public static void main(String args[]){ // Scanner input = new Scanner(System.in); //System.out.println("Hello World"); //System.out.println("Enter a number: "); //int a; //Integer. -1, -15,... » read more

Java Tutorial #3 — Simple calculations, bank interest problem.

Topics Discussed: Using java to compute simple calculations, such as bank interest. Source Code for Lesson 3: import java.util.Scanner; class Jtutorial1 { public static void main(String args[]){ Scanner input = new Scanner(System.in); //Asks a user for how much money they want to invest in a bank //What is the APR of that bank. Annual percentage... » read more

Java Tutorial #4 — Working with the debugger: Errors happen!

Topics Discussed: Using the built in debugger to show us what is happening within our programs Source Code for Lesson 4 here: import java.util.Scanner; class Jtutorial1 { public static void main(String args[]){ Scanner input = new Scanner(System.in); // Logic errors -- When your code works, but the thought that created them, was flawed. // Code... » read more