Keith Rainey
OCPJP6
SCJP
Visit my download page
Keith Rainey
OCPJP6
Keith Rainey
OCPJP6
Keith Rainey
OCPJP6
Keith Rainey
OCPJP6
Keith Rainey
OCPJP6
SCJP
Visit my download page
What’s free about the default constructor? Look at this “how-to” page about javadoc, and you see they recommend always writing a constructor, so you don’t ever see default constructors. You don’t want to provide a way to make a class instantiable which you don’t know about. The same applies to regularly writing no-args constructors, which is why I argued against it in my previous post.Randall Twede wrote: . . . the "free" no args constructor. . . .
Did you see how Paul cut 87% off of his electric heat bill with 82 watts of micro heaters? |