• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

classes defined inside an interface

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Where can I find some informations (webpages, or books etc.) defining classes inside an interface?

Why does the language provide such ways to define classes? How are these classes different from regular classes? Under what scenarios should I decide to define a class inside the interface?

I can find pieces information here and there, but I would love to read up some formal language definition or some kind summaries. Thanks!

BTW, I browsed through java language specifications, but didn't find such information.
 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Katherine Sierra, Bert Bates

That book is pretty popular around here, though it's for the SCJP specifically it has pretty much everything you ever wanted to know about Java. As far as webpages go I'm certain there are some links from Javaranch that would be helpful though I don't know them.

Here is a somewhat useful thread on it though

nested thread in interface
 
Rui Wang
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Panseer, thanks for your recommendations and the link! Both helps!

I am getting the book to review Java. Thanks!
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"mrchicos", please check your private messages. You can see them by clicking My Private Messages.
 
reply
    Bookmark Topic Watch Topic
  • New Topic