JavaLanguage Section Index | Page 6
Why can't I use Unicode supplementary characters in JDK 1.4?
JDK 5.0 added support for code points above U+FFFF. Additional information is available from Supplementary Characters in the Java Platform.more
Can Java use attributes?
Yes. In Java, however, these are called annotations. They were added in version 5.0.
For more see, What are annotations in Java?more
What are annotations in Java?
Annotations are a language construct that is introduced in Java 5.0 that allows metadata to be assigned to classes, interfaces, fields, and methods. Such metadata is often called attributes. (Anno...more
What is "Mustang"?
Mustang is the code name for J2SE 6.0. (1.6.0)
The Mustang release of J2SE is expected to include a number of key changes to J2SE including changes to the release model of the JDK, XML and Web Se...more
Where can I get the latest bits for "Mustang" (J2SE 6.0)?
Up until the release, the latest bits should be available at https://mustang.dev.java.net/
What is "Tiger"?
"Tiger" was the code name for Java 2 Platform Standard Edition (J2SE) 5.0 that released on September 29th, 2004. This major release included over a dozen JSRs and nearly 100 other significant upda...more
Which kind off error can stop jvm in java??
Actually, the JVM will exit if unchecked-exceptions (for example RuntimeException etc) are not caught.
public class T1
{
public static void main( String [] args )
{
T1 t1 = new T1();
...more
How u map a composite Primary Key in CMP Entity Bean and how u handle the same composite primary key in primary key class? What is the usage of HashCode() and Equals() methods? They return only one single primary key value?
I think you are making some confusion on the purpose of the equals() and hashCode(): they do not return a "single primary key value".
equals() returns a boolean that indicates whether another obje...more
Can i redistribute tools.jar? (For compiling java code)
Yes. http://java.sun.com/j2se/1.3/jre/README
How do i programatically copy contents of a Jar file into another jar file?
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.DataOutputStream;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
impor...more
How do i use ThreadLocal to make my variable Safe in a Multi-Threaded Environment?
Suppose you have a Configuration object that needs to be stored.
........
private static ThreadLocal myConfig = new ThreadLocal();
........
public static void setThreadConfig(Conf...more
I used ActiveX Bridge to create ActiveX version of my Java Beans...What's the story with JDK1.4?
According to the docs...The Active X Bridge has been removed in J2SE 1.4.0 (http://java.sun.com/j2se/1.4/relnotes.html#activeX)more
What Graphics Performance Improvements have been added in JDK 1.4?
http://java.sun.com/products/java-media/2D/perf_graphics.html
What patches do i need to run JDK 1.4 on Solaris?
SolarisTM Operating Environment Patches
What's new with Printing Support in JDK 1.4?
Magic with Merlin: Printing in JDK 1.4, Part 1 .