User-submitted Java Projects

35
1037 reads
JumbleGames
A simple WORD jumbling game. Computer presents a word whose letters are shuffled, and you need to guess the correct word.
Run It Now!
316
4627 reads

February 26, 2013

Demonstrate toDegrees() and toRadians()


The toRadians() method converts degrees to radians. toDegrees() converts radians to degrees

246
3450 reads

February 26, 2013

Demonstrate Run-Time Type Information


String getName():

Returns the name of the entity (class, interface, array class, primitive type, or void) represented by this Class object, as a String.

339
3933 reads

February 26, 2013

Override the clone() method.


Classes that want copying functionality must implement some method to do so. To a certain extent that function is provided by "Object.clone()".

355
5445 reads

February 26, 2013

Demonstrate clone()


The clone( ) method generates a duplicate copy of the object on which it is called. Only classes that implement the Cloneable interface can be cloned.

46
2817 reads

February 26, 2013

Show User Dir


The System class maintains a Properties object that describes the configuration of the current working environment.

310
5342 reads

February 26, 2013

Using arraycopy


arraycopy(Object src,int srcPos, Object dest,int destPos,int length)

359
5773 reads

February 26, 2013

Timing program execution


currentTimeMillis()

162
3671 reads

February 26, 2013

ProcessBuilder demo


ProcessBuilder :

This class is used to create operating system processes.

37
2282 reads

February 26, 2013