Best Tutorials website
Latest tutorials

Advertisment

Herong's Notes on JDK

Herong's Notes on JDK

A collection of notes and simple codes on JDK. Topics include, calendar & dates, formatting, internationalization, collections, character sets &...


Views: 0 | Rating star | by Marry
Java - General Java

Perl to Java regular expressions tutorial

Perl to Java regular expressions tutorial

This tiny tutorial is for those who are familiar with regular expressions in Perl and want to use them in Java too. I give some examples in Perl on...


Views: 1206 | Rating star | by Colin
Java - General Java

Whizlabs SCBCD (Sun Certified Business Component Developer) Exam Simulator

Whizlabs SCBCD (Sun Certified Business Component Developer) Exam Simulator

Ensure your success in SCBCD exam with Whizlabs Simulator, the most effective training software for the Sun Certified Business Component Developer...


Views: 1210 | Rating star | by Donald
Java - General Java

Java Arrays

Java Arrays

Arrays are dynamically created objects in Java code. An array can hold a number of variables of the same type. The variables can be primitives or...


Views: 916 | Rating star | by Troy
Java - General Java

Declaring classes, variables, and methods

Declaring classes, variables, and methods

Now let's look at ways we can modify classes, methods, and variables. There are two kinds of modifiers -- access modifiers and non-access...


Views: 837 | Rating star | by Marry
Java - General Java

Constructors

Constructors

A constructor is used when creating an object from a class. The constructor name must match the name of the class and must not have a return type....


Views: 891 | Rating star | by Adam
Java - General Java

Flow control statements

Flow control statements

The flow control statements allow you to conditionally execute statements, to repeatedly execute a block of statements, or to just change the...


Views: 890 | Rating star | by Daniel
Java - General Java

Assertions

Assertions

An assertion is a statement containing a boolean expression that is assumed to be true when the statement is executed. The system reports an...


Views: 894 | Rating star | by Jason
Java - General Java

Exception handling

Exception handling

Exceptions are Java objects; exception classes are derived from java.lang.Throwable.


Views: 869 | Rating star | by Ben
Java - General Java

Behavior of the garbage collector

Behavior of the garbage collector

A Java programmer does not have to worry about memory management, because it is automatically taken care of by the garbage collector. The Java...


Views: 857 | Rating star | by Nick
Java - General Java

Eligibility for garbage collection

Eligibility for garbage collection

An object is eligible for garbage collection when no live thread can access it. An object can become eligible for garbage collection in different...


Views: 853 | Rating star | by Simon
Java - General Java

Finalization

Finalization

Java technology allows you to use the finalize() method to do the necessary cleanup before the garbage collector removes the object from memory.


Views: 921 | Rating star | by Isac
Java - General Java

Package and class declarations

Package and class declarations

A package represents a group of classes.


Views: 834 | Rating star | by Ben
Java - General Java

Interfaces

Interfaces

An interface is like a public class that has only abstract and public methods. The variables declared in an interface are implicitly public,...


Views: 857 | Rating star | by Troy
Java - General Java

Java keywords and identifiers

Java keywords and identifiers

Keywords are reserved words that are predefined in the language.


Views: 875 | Rating star | by Amy
Java - General Java

Literals

Literals

Integer literals can be decimal, octal, or hexadecimal.


Views: 851 | Rating star | by Isac
Java - General Java

Using operators

Using operators

Understand assignment operators.


Views: 893 | Rating star | by Troy
Java - General Java

The equals() method

The equals() method

We can use the == operator to compare the values of primitive variables and determine if they are equal. However, if object reference variables are...


Views: 806 | Rating star | by Nick
Java - General Java

Passing variables into methods

Passing variables into methods

If the variable passed is a primitive, only a copy of the variable is actually passed to the method. So modifying the variable within the method...


Views: 844 | Rating star | by Slicer
Java - General Java

Encapsulation

Encapsulation

Encapsulation is the concept of hiding the implementation details of a class and allowing access to the class through a public interface.


Views: 873 | Rating star | by Slicer
Java - General Java