Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Optimizing Java

Status
Not open for further replies.

OcsiS

Programmer
Dec 11, 2000
3
US
To optimize my Java servlet, I want to know if java creat a new instance for all uper-class of the new instance I creat.
Is it fastest and lower in memory to creat an instance of a class inherited from Object than an instance of a sixth or seven level class.

Is there any way to have something like #define in java.

Thanks for help.

--SiscO-- French Developper
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top