http://juan-gandhi.livejournal.com/ ([identity profile] juan-gandhi.livejournal.com) wrote in [personal profile] dtm 2009-03-03 06:18 pm (UTC)

"Know how to write a class that takes a particular type of object in its constructor" - what can this possibly mean? Is the following the right example of what you are asking:

class A {A(Integer b){}}

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting