Best Tutorials website
Latest tutorials

Advertisment

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: 955 | 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: 1020 | Rating star | by Isac
Java - General Java

Package and class declarations

Package and class declarations

A package represents a group of classes.


Views: 937 | 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: 950 | 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: 970 | Rating star | by Amy
Java - General Java

Literals

Literals

Integer literals can be decimal, octal, or hexadecimal.


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

Using operators

Using operators

Understand assignment operators.


Views: 981 | 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: 898 | 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: 946 | 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: 976 | Rating star | by Slicer
Java - General Java

Polymorphism

Polymorphism

Polymorphism means 'any forms.' In object-oriented programming, it refers to the capability of objects to react differently to the same...


Views: 687 | Rating star | by Sean
Java - General Java

Creating threads

Creating threads

Threads are objects in the Java language.


Views: 722 | Rating star | by Tutorial
Java - General Java

Thread constructors

Thread constructors

List of available thread constructors.


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

Thread states

Thread states

List of available thread states.


Views: 704 | Rating star | by Sarah
Java - General Java

Important thread methods

Important thread methods

List of important thread methods.


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

Thread synchronization

Thread synchronization

Every object in Java code has one lock, which is useful for ensuring that only one thread accesses critical code in the object at a time. This...


Views: 629 | Rating star | by Source
Java - General Java

Using the Math class

Using the Math class

The Math class is final and all the methods defined in the Math class are static, which means you cannot inherit from the Math class and override...


Views: 669 | Rating star | by Mathew
Java - General Java

String and StringBuffer

String and StringBuffer

As you know, Strings are objects in Java code. These objects, however, are immutable. That is, their value, once assigned, can never be changed.


Views: 637 | Rating star | by Mathew
Java - General Java

Collections and collections interfaces

Collections and collections interfaces

Collections are objects used to group together and manipulate multiple data elements. They can dynamically grow and shrink, which is their...


Views: 685 | Rating star | by Sean
Java - General Java

Coloring in Flash

Coloring in Flash

An in-depth tutorial on coloring inked drawings in Flash, the quick and easy way!


Views: 671 | Rating star | by David
Flash - Tips and Techniques