before going to use a perticular class please see the java doc and in that uwill easily find that...in that u will find the heirarchy also..so please the java documentation for the reference