CORE API / CATATAN</>↗Core API11 Jan 2006
For validation purposes we might need to check if data entered by our users is a valid data for our application to process. A simple mechanism for checking if a character inputted is a digit or not can be done by using the java.lang.Character class isDigit(char c) method. In this example you will learn how […]
CORE API / CATATAN</>↗Core API08 Jan 2006
In this example we are going to learn how to find out if an ArrayList object contains the specified element. To check if an ArrayList object contains the specified element we can use the contains(Object o) method. This method returns a boolean true when the specified element is found in the ArrayList, otherwise return false. […]
JAVA / CATATAN{ }↗Java03 Jan 2006
In this example we are going to learn how to obtain the size of an ArrayList object. As you might already know, a java.util.ArrayList is a class that we can use to create a dynamic sized array. We can add and remove elements from the ArrayList dynamically. Because its elements can be added or removed […]
JAVA / CATATAN{ }↗Java03 Jan 2006
In this example we will learn how to use the java.util.ArrayList class. An ArrayList is part of the Java Collection Framework. By using this class we can create a dynamic size array of data, which means we can add or remove elements from the array dynamically. In the code below we will see the demonstration […]
JAVA / CATATAN{ }↗Java31 Des 2005
The Hello World program is a classic example to start with when we begin to learn a new programming language. The main purpose is to know the basic syntax of the language. Below is the Java version of a Hello World program, it is simple enough to start. package org.kodejava.basic; public class HelloWorld { public […]
GENERAL / CATATAN</>↗General31 Des 2005
Kode Java Org website provides beginners to Java programming some examples or code snippets to use the Java API (Application Programming Interface) to develop applications. Learning from code examples will hopefully decrease the time required to learn Java programming. In this blog you will find a lot of examples which grouped by the Java API […]