Best Tutorials website
Latest tutorials

Advertisment

XML generation with JAVA

XML generation with JAVA

XML developers used to rely on XML parsers to read XML files. They also used to rely on XML processors to transform XML to *ML (HTML, XML, etc.)....


Views: 1120 | Rating star | by Source
Java - XML and Java

Long-term persistence: Serialize JavaBean component state to XML

Long-term persistence: Serialize JavaBean component state to XML

The ability to save the JavaBean component state for long-term persistence within an XML document has been a topic of much discussion with Java...


Views: 872 | Rating star | by Jarry
Java - XML and 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: 1028 | 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: 960 | 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: 1015 | 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: 1010 | 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: 1010 | Rating star | by Jason
Java - General Java

Exception handling

Exception handling

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


Views: 989 | 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: 973 | 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: 979 | 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: 1041 | Rating star | by Isac
Java - General Java

Package and class declarations

Package and class declarations

A package represents a group of classes.


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

Literals

Literals

Integer literals can be decimal, octal, or hexadecimal.


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

Using operators

Using operators

Understand assignment operators.


Views: 1000 | 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: 914 | 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: 962 | 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: 994 | 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: 704 | Rating star | by Sean
Java - General Java