From: Daniel Carrera Date: 2003-08-01T22:21:36+09:00 Subject: Re: OT: Nice On Fri, Aug 01, 2003 at 10:18:24PM +0900, Paul Brannan wrote: > One question: what is the purpose of the '@' character in an argument > list, e.g.: > > display(p@Person) > { > return p.name + " (age=" + p.age + ")"; > } I think it just "declares" p as an instance of Person. So it's not really different from the C version. > And how does it differ from the C-style argument lists: > > void main(String[] args) > { > System.out.println("Hello, world!"); > } -- Daniel Carrera | PGP: 6643 8C8B 3522 66CB D16C D779 2FDD 7DAC 9AF7 7A88 Math PhD. UMD | http://www.math.umd.edu/~dcarrera/pgp.html * * * * * Weekly Smile * * * * * * * * * * * * * * * * * * * * * * * * Sign in a hotel in Athens: Visitors are expected to complain at the office between the hours of 9 and 11 A.M. daily. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *