A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
Java in General
Defining classes inside interface!
Joined: Oct 10, 2005
Oct 10, 2005 07:34:00
Can we define classes inside interface?
If not,Why cannot we define.
if, How can we define. Examples required,
Joined: Oct 29, 2001
Oct 10, 2005 07:53:00
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?
"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
How To Ask Questions On JavaRanch
I agree. Here's the link:
subject: Defining classes inside interface!
What is the real use of interface in java apart from Multiple inheritance,
will it possible to definefianl abstarct class and interfaces?
Class Inside an Interface
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013