Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Ella Campbell   on Dec 05 In Java Category.

  
Question Answered By: Ana Silva   on Dec 05

Well, it costs resources to instanciate a class, and then later garbage
collect it... an int  wont cost the same ammount of resources as a class  do.

Of course... resource usage and clarity of the API are sometimes two
opposite factors that needs to be delicately balanced between.

Share: 

 

This Question has 3 more answer(s). View Complete Question Thread

 


Tagged: