Java Tutorials

161. The clone() Method in Java

By: Abinaya : 2007-10-13

Description: If a class, or one of its superclasses, implements the Cloneable interface, you can use the clone() method to create a copy from an existing object. To create a clone, you write: aCloneableObject.clone();


162. The equals() Method example in Java

By: Baski : 2007-10-13

Description: The equals() method compares two objects for equality and returns true if they are equal. The equals() method provided in the Object class uses the identity operator (==) to determine whether two objects are equal. For primitive data types, this gives the correct result. For objects, however, it does not. The equals() method provided by Object tests whether the object references are equal—that is, if the objects compared are the exact same object.


163. Aspects of Internationalization in Java

By: Grenfel : 2007-09-17

Description: Internationalization involves many aspects of application development. Practically speaking, the primary goal behind all of these facets of development is to engineer a user interface -and its supporting infrastructure - that presents all UI information in a comprehensible way to local users. At a minimum, this effort involves supporting the following aspects of an application's execution:


164. New Features Added by Java

By: Abinaya : 2007-09-15

Description: There are a number of features in Java that have no equivalent in C++. Perhaps the three most important are multithreading, packages, and interfaces, but there are several others that enrich the Java programming environment as well.


165. What Java Has Removed from C++

By: Tamil Selvan : 2007-09-15

Description: There are a number of C++ features that Java does not support. In some cases, a specific C++ feature simply didn't relate to the Java environment. In other cases, the designers of Java eliminated some of the duplication of features that exists in C++. In still other instances, a feature of C++ is not supported by Java because it was deemed too dangerous for Internet applets.


166. Creating and Handling JAR files

By: Reema sen : 2007-09-15

Description: A utility is used to generate a JAR file. Its syntax is shown here


167. PushbackInputStream example program in Java

By: Sam Chen : 2007-09-15

Description: One of the novel uses of buffering is the implementation of pushback. Pushback is used on an input stream to allow a byte to be read and then returned (that is, "pushed back") to the stream. The PushbackInputStream class implements this idea. It provides a mechanism to "peek" at what is coming from an input stream without disrupting it. PushbackInputStream has the following constructors:


168. Stack example in Java - push(), pop(), empty(), search()

By: Henry : 2007-09-14

Description: Stack is a subclass of Vector that implements a standard last-in, first-out stack. Stack only defines the default constructor, which creates an empty stack. Stack includes all the methods defined by Vector, and adds several of its own.


169. What are e-Payments?

By: Abinaya : 2007-09-14

Description: e-Payments are secure real time payments that transfer funds (via the Internet) between a consumer and the merchant's financial institutions. e-Payments require secure communication between all components of the e-Payment process.


170. 3-D Secure Payment or 3DS - (3-Domain Secure Payment)

By: Baski : 2007-09-14

Description: A 3-D Secure transaction is performed immediately before a merchant performs a payment transaction, that is, Authorisation transaction in the Auth/Capture mode; and the Purchase transaction in the Purchase mode. Authentication ensures that the card is being used by its legitimate owner. During a transaction, it allows the merchant to authenticate the cardholder by redirecting them to their card issuer where they enter a previously registered password.