Category Archives: Java

Java || Snippet – How To Do Simple Math Using Integer Arrays

This page will consist of simple programs which demonstrate the process of doing simple math with numbers that are stored in an

Java || Snippet – How To Read & Write Data From A File

This page will consist of a demonstration of a simple quadratic formula program, which highlights the use of the input/output mechanisms of

Java || Snippet – How To Input Numbers Into An Integer Array & Display Its Contents Back To User

This snippet demonstrates how to place numbers into an integer array. It also shows how to display the contents of the array

Java || Display Today’s Date Using a Switch Statement

If statements, char’s and strings have been previously discussed, and this page will be more of the same. This program will demonstrate

Java || Using If Statements, Char & String Variables

As previously mentioned, you can use the “int/float/double” data type to store numbers. But what if you want to store letters? Char

Java || Simple Math Using Int & Double

This page will display the use of int and double data types. ==== ADDING TWO NUMBERS TOGETHER ==== To add two numbers

Java || Hello World!

This page will consist of creating the typical “hello world!” application. First, you will need to create a new project in whichever

Java || Which Compiler To Use?

A common question one may wonder is, which compiler should I use? There are a few choices, and your choice should probably