Difference Between JSF, Servlet and JSP
This article provides a brief Overview of JavaServer Faces (JSF), Java ServerPages (JSP), and Java Servlet. More ...
How to Create the Most Basic Java Window
A lot of Java programming involves creating command line applications. But I like to get to opening a graphic window as quickly as possible. This is no problem because it's actually very easy to create a basic JFrame window. More ...
Java for Loop
A loop is a block of statements that are repeated. A loop may be repeated a fixed number of times, repeat until some condition is met, or can loop indefinitely while the program is running. There are three main loop control structures available in Java: for, do and while. More ...
Java switch case Control Statement
The if else statement tells the computer to run one set of instructions based on one result of a test, and a different set of instructions based on a different result of the test. But a switch case statement can run a different set of instructions based on any value or expression provided to the switch command. More ...
New Features In Java 9
The latest version of Java has with over 150 new features, several new features and APIs to accelerate development of applications for both large and small devices. At the same time, the features provided by Java 9 help programmers to improve application's performance, security, and maintainability. 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 ...
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 ...
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 ...
Display a Line Break in Text in a Java Program
In computer programming, a collection of letters that make a phrase, sentence, or paragraph, is called a string. Within a string there may be special characters that are used to produce things like tabs, backspaces, and carriage returns. A line break is created using the newline special character. More ...
A Comparison Between The Java IDEs: Netbeans and Eclipse
Both NetBeans and Eclipse are open source and cross platform Java IDEs. Eclipse is supported by IBM, whereas NetBeans is supported by Oracle. Each IDE provides several innovative features and tools to simplify and speedup Java application development. 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 ...
The Sun One Studio Java IDE
You can develop Java applications by typing code into Windows Notepad and executing them from a DOS prompt. But sooner or later you will want to become a more productive programmer, and that requires use of an Integrated Development Environment (IDE). More ...
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 ...
Basic Java Variables
In Java information that can be changed as the program runs is stored in variables. A variable is created with a statement that has the type and the name of the variable, and sometimes the value of the information being stored. More ...