a class with a default constructor (one that takes no arguments) that prints a
message. Create an object of this class.
an overloaded constructor to Exercise 1 that takes a
argument and prints it along with your message.
an array of object handles of the class you created in Exercise 2, but
don’t actually create objects to assign into the array. When you run the
program, notice whether the initialization messages from the constructor calls
Exercise 3 by creating objects to attach to the array of handles.
by running the program using the arguments “before,”
“after” and “none.” Repeat the process and see if you
detect any patterns in the output. Change the code so that
and observe the results.
Live Event Date: January 28, 2015 @ 11:00 a.m. ET / 8:00 a.m. PT
Check out this upcoming live webcast and join Jeff Sloyer, IBM Developer Evangelist and Master Inventor, for a tutorial for building cloud-based applications. Using IBM's platform as a service, Bluemix, Jeff will show you how to architect and assemble cloud-based applications built for cloud scale. Leveraging the power of microservices, developers can quickly translate monolithic applications to a cloud-based microarchitecture. This hour-long …
Learn How A Global Entertainment Company Saw a 448% ROI
Every business today uses software to manage systems, deliver products, and empower employees to do their jobs. But software inevitably breaks, and when it does, businesses lose money -- in the form of dissatisfied customers, missed SLAs or lost productivity. PagerDuty, an operations performance platform, solves this problem by helping operations engineers and developers more effectively manage and resolve incidents across a company's global operations. …