| Author |
Defining classes inside interface!
|
Jithendra Katkam
Greenhorn
Joined: Oct 10, 2005
Posts: 1
|
|
Can we define classes inside interface? If not,Why cannot we define. if, How can we define. Examples required,
|
 |
Joe Ess
Bartender
Joined: Oct 29, 2001
Posts: 8260
|
|
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]
|
 |
 |
|
|
subject: Defining classes inside interface!
|
|
|