devxlogo

September 12, 1998

Classes in sun.* packages

All the classes in sun.* that accompany the Sun JDK are provided assupport classes that are used to implement specific sets of functionalityfor the core JDK classes. The classes in

Converting a String into an int

The Java core API possesses a method equivalent to the C atoi() function in Java. The java.lang.Integer class contains a method called parseInt()which will convert a String into an int.

Generating Random Numbers

The java.util package contains a class called Random which you can useto generate random numbers. A Random object represents a repeatingpseudo-random sequence of numbers. You can either fetch the next

Array Reflection

The java.lang.reflect package provides an Array class through whichthe values of an array can be accessed. It is usually more effectiveto cast the array after it has been obtained through

Java Arrays

C programmers are used to dealing with multidimensional arrays as chunksof contiguous memory which can be accessed through pointer arithmetic.In Java, an array is an actual object, and a multidimensional

Components Help Team Based Development

Aside from fitting well with the Microsoft environment, creating components and component based software also works well with the management and tracking of development teams. Components naturally divide into manageable

Performance Monitor Defaults

On NT, do you ever wonder why Performance Monitor starts up blank on some computers, and others have process monitored automatically upon start up? Well, Performance Monitor first looks for