Results 1 to 4 of 4
Thread: Ways of implementing interface
- 12-05-2011, 02:16 PM #1
Member
- Join Date
- Dec 2011
- Posts
- 2
- Rep Power
- 0
- 12-05-2011, 02:42 PM #2
Re: Ways of implementing interface
What you have there is called an anonymous class. Take a look at the following link to see the restrictions on anonymous classes: Anonymous Classes (Java in a Nutshell)
How to Ask Questions the Smart Way
Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!
- 12-06-2011, 07:07 PM #3
Member
- Join Date
- Dec 2011
- Posts
- 2
- Rep Power
- 0
Re: Ways of implementing interface
Thank you for your answer.
I would like to know why is it used this in such way?
- 12-06-2011, 07:15 PM #4
Re: Ways of implementing interface
How to Ask Questions the Smart Way
Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!
Similar Threads
-
NEED HELP in IMPLEMENTING A GIVEN INTERFACE!
By wasiqjaved in forum New To JavaReplies: 0Last Post: 10-03-2011, 12:40 PM -
Implementing Interface
By mew in forum New To JavaReplies: 4Last Post: 02-16-2010, 03:33 PM -
help! implementing an interface
By manda147 in forum New To JavaReplies: 28Last Post: 11-17-2008, 04:27 AM -
Implementing an interface
By bugger in forum Advanced JavaReplies: 1Last Post: 01-09-2008, 01:35 PM -
Implementing Serializable interface
By javaplus in forum Advanced JavaReplies: 4Last Post: 12-18-2007, 12:29 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks