1/24/08 Notes

To Notes

CSC 212 -- 1/24/08

 

Review Questions

  1. What is a noarg constructor?

    Ans: A constructor that is called with no arguments like this:

  2. What does this mean?

    Ans: this is a reference variable that contains the address of the current object.

  3. What is the output?

    Ans: A string s is greater than a string t if s comes after t in alphabetic order. The output is

 

Lab Exercise Ex2