1. What is the meaning of a static method? How is activation different from that of an ordinary method?
2. Use the expression --manyItems (with the -- before manyItems) to rewrite the last two statements of remove (Figure 3.5 on page 132) as a single statement. If you are unsure of the difference between manyItems-- and --manyItems, then go ahead and peek at our answer at the back of this chapter. Use manyItems++ to make a similar alteration to the add method.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here