Menu
Java Programming

How to Install JDK 8 on Windows and Get Started with Java Programming
Java is one of the most popular programming languages in use, particularly for client-server web applications, with nine million developers, and more than three billion mobile phones run Java. All you need to learn to program Java is the free JDK (Java Development Kit). More ...

Passing Arguments to a Java Application
In this article I use a very short example program to demonstrate several basic principles of Java programming; how to pass arguments to a Java application, how to convert a string to an int, and how to use an if structure. More ...

Java if Comparison Statement
A computer program is a list of instructions for the computer to follow. Some instructions tell the computer to test a variable and to follow a group of instructions based on the result of that test. The most basic conditional test is the if statement. More ...

Getting Started as a Java Programmer
One of the reasons for Java's rapid growth is that Sun Microsystems has always makes the Java Software Development Kit (SDK) available at its Web site for free. All you need to develop Java programs is the SDK and a basic ASCII text editor like Windows Notepad. More ...

Reading Files with Java
Without the ability to read files, your application would be severely limited. In this article I show you; how to use the JfileChooser dialog box to select a file, how to display the contents of the file in your applications window, and how to scroll the Window. More ...

Determine the Length of a Text String in a Java Program
Java uses the .length method to return the length, in characters, of the text contained in a String object. In this article is the Java code to determine the length of a text string. More ...

Comparing Two Text Strings in a Java Program
One task performed frequently in a Java program is to compare two strings. To accomplish this you would use the String object's equals() method. This article provides Java code to compare the text in two strings. More ...

Display Quotation Mark in Text in a Java Program
To define a String in Java, you enclosed it within quotation marks. These quotation marks are not shown when you display the string. More ...

Difference Between JSF, Servlet and JSP
This article provides a brief Overview of JavaServer Faces (JSF), Java ServerPages (JSP), and Java Servlet. More ...

Java while Loop
A loop is a block of statements that are repeated. There are three main loop control structures available in Java: for, do and while. This article provides example of while loop code. More ...

Your First Java Menu
Many times the user of a sotware application performs functions by selecting items from a menu. In this article I give you an overview of the Java event model and how to create a Java program with a simple menu. More ...

Java Keywords
The Java programming language has 50 keywords. Each keyword has a specific meaning in the language. You can't use a keyword for anything other than its pre-assigned meaning. The following table lists Java's keywords. More ...

Java if else if else Control Statement
Some instructions tell the computer to test a variable and to follow a group of instructions based on the result of that test. The nice thing about an if else if else statement is that you can use as many else if sections as you require. You could have an else if section for every possible condition value. More ...

Display Text in a Java Program
In computer programming, a letter or digit is called a character and a collection of letters or digits that make a phrase, sentence, or paragraph, is called a string. Example code to display a string in java is provided in this article. More ...


Learn more at amazon.com

Custom Search