The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
September 2000



This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.


I have a similar query

Posted by Kishori Sharan on September 18, 2000 at 5:31 PM

Hi Jim

ActionListener al = new ActionListener() {
public void actionPerformed(ActionEvent e) {

I do agree with you that this type of syntax is confusing for developers. Here the syntax clearly indicates that we are creating a new instance of an interface, but we don't know what is going on inside java compiler and JVM. I have a similar query about implementation of array of primitives in Java. I had posted a query on 27th August 2000 titled "The mysterious java array implementation" on this site. I would like you to have a look at it and tell me if you can clarify my doubts.



Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us