
Advertisment
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: 1226 |
| by Simon
Java - General Java
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: 1278 |
| by Isac
Java - General Java
Package and class declarations
A package represents a group of classes.
Views: 1201 |
| by Ben
Java - General Java
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: 1206 |
| by Troy
Java - General Java
Java keywords and identifiers
Keywords are reserved words that are predefined in the language.
Views: 1207 |
| by Amy
Java - General Java
Literals
Integer literals can be decimal, octal, or hexadecimal.
Views: 1202 |
| by Isac
Java - General Java
Using operators
Understand assignment operators.
Views: 1238 |
| by Troy
Java - General Java
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: 1184 |
| by Nick
Java - General Java
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: 1196 |
| by Slicer
Java - General Java
Encapsulation
Encapsulation is the concept of hiding the implementation details of a class and allowing access to the class through a public interface.
Views: 1223 |
| by Slicer
Java - General Java
Polymorphism
Polymorphism means 'any forms.' In object-oriented programming, it refers to the capability of objects to react differently to the same...
Views: 903 |
| by Sean
Java - General Java
Creating threads
Threads are objects in the Java language.
Views: 950 |
| by Tutorial
Java - General Java
Thread constructors
List of available thread constructors.
Views: 883 |
| by Daniel
Java - General Java
Thread states
List of available thread states.
Views: 917 |
| by Sarah
Java - General Java
Important thread methods
List of important thread methods.
Views: 897 |
| by Colin
Java - General Java
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: 856 |
| by Source
Java - General Java
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: 901 |
| by Mathew
Java - General Java
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: 849 |
| by Mathew
Java - General Java
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: 898 |
| by Sean
Java - General Java
Coloring in Flash
An in-depth tutorial on coloring inked drawings in Flash, the quick and easy way!
Views: 879 |
| by David
Flash - Tips and Techniques
