Monday, September 1, 2014

How to write your first JFreeChart program

JFreeChart is a free library for creating charts in Java programs. These charts are similar to the charts in Microsoft Excel. This tutorial describes how to create a simple line chart in Java using JFreeChart.

Download JFreeChart

Sunday, August 31, 2014

The benefits of encapsulation

Encapsulation is one of the most important object-oriented concepts in the Java programming language. It is the ability to hide data and methods safely inside a class. This article describes the benefits of encapsulation in Java programs.

Hide the data

Hiding the data of a class is beneficial to Java programs. This is done through encapsulation. Consider a Java class called Student. One piece of data could be grade average. You could make that variable publicly available:

Top 10 Reasons Why You Should Program in Java

Java is one of the most useful and popular programming languages in the world today. If you are new to Java, you will find many reasons to start using it. Here are the top 10 reasons why you should program in Java.

10. Java is easy to learn. Java is easy enough for beginners to learn. When you learn how to program in Java, you can start with the basic concepts. You can write your first Hello World program in minutes.