This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes interface Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "interface" Watch "interface" New topic
Author

interface

Enkita mody
Ranch Hand

Joined: Aug 06, 2012
Posts: 333

Interfaces in Java

In the Java programming language, an interface is a reference type, similar to a class, that can contain only constants, method signatures, and nested types.


What does it mean by nested type ?


OCA7
Matthew Brown
Bartender

Joined: Apr 06, 2010
Posts: 4343
    
    8

"Nested types" are another name for inner classes.
Enkita mody
Ranch Hand

Joined: Aug 06, 2012
Posts: 333

Thank you.
 
wood burning stoves
 
subject: interface
 
Similar Threads
No need for synchronization; there is "Lazy Initialization"
Q from DAN's Nested class exam
inner interface.........help me
Nesting Interfaces
Inheritance