unfortunately, passing in one parameter is a precondition given to me by my lecturer. I too was puzzled by this.
Why don't you explain how your class you are supposed to design works. It might explain why you teachers only expects one parameter to the function isPresent().
Reputation Points: 1536
Solved Threads: 431
Posting Expert
Offline 5,865 posts
since Aug 2005