"What if? Why not? Challenge the Convention! Let's do some incredible things!"  More Quotes

Welcome to Aspire Knowledge Central (AKC)

   Home   Public Library   Author Content

Choose a data format:   classic-xml   object-xml   embedded-xml   text   excel

Ongoing questions list

Click here to provide feedback or comments at the bottom of this page

Is there a good mailing list for high level java questions with manageable traffic?

What is the difference between java collections and commons collections?

>> Wednesday, August 25, 2004 1:46:42 PM - Comments by satya

When should I use inner classes?

It is nice to hide them for encapsulation reasons. But they have an unsavory syntax for instantiating them


ex: class x { class y {} };
x = new x();
y = x.new y();

This is because the inner class uses a hidden reference to the parent.

Look into this in a bit more detail and see if some guidelines can be provided.

>> Thursday, August 26, 2004 11:16:37 AM - Comments by satya

Is there a cost difference between instantiating a class with lots of methods and a class that only has a few or no methods?

It is possible to think that a class with differeing data requirements may have different cost for instantiating them. What about different method numbers?


Subject (Don't use any html tags)

Description (Use html tags: h3, h4, p, pre, a, etc.)

Name Email