The Purpose of This Chapter


Creating an object is not difficult; you do so using the keyword new . Is that the extent of creating an object? What about creating an object based on a dynamic program condition? How about creating an object based on some administrative configuration files? In each of these situations, you cannot use the keyword new because you don't know which class to instantiate. The task of this chapter is to outline the different ways to instantiate a class depending on common scenarios that a programmer will encounter.




Applied Software Engineering Using Apache Jakarta Commons
Applied Software Engineering Using Apache Jakarta Commons (Charles River Media Computer Engineering)
ISBN: 1584502460
EAN: 2147483647
Year: 2002
Pages: 109

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net