Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Java in General
Search Coderanch
Advance search
Google search
Register / Login
Win a copy of
Cloud Application Architecture Patterns: Designing, Building, and Modernizing for the Cloud
this week in the
Cloud/Virtualization
forum!
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
Tim Cooke
paul wheaton
Paul Clapham
Ron McLeod
Sheriffs:
Jeanne Boyarsky
Liutauras Vilda
Saloon Keepers:
Tim Holloway
Carey Brown
Roland Mueller
Piet Souris
Bartenders:
Forum:
Java in General
Defining classes inside interface!
Jithendra Katkam
Greenhorn
Posts: 1
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Can we define classes inside interface?
If not,Why cannot we define.
if, How can we define. Examples required,
Joe Ess
Bartender
Posts: 9626
16
I like...
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Sounds like somebody is doing their homework.
Why don't you try to think it through. What do you know about interfaces? About classes? Try writing an interface with a class defined. Does the compiler like it?
[
How To Ask Questions On JavaRanch
]
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
?
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Class Inside an Interface
interface
Inner Classes
will it possible to definefianl abstarct class and interfaces?
What is the real use of interface in java apart from Multiple inheritance,
More...