| Author |
Interface
|
durga ramakrishnan
Greenhorn
Joined: Jul 30, 2007
Posts: 14
|
|
Hi,
whether we can have interface like given below,
publis Interface inter1{
public static final ClassA a=new ClassA();
}
please help in this.Dont mistaken as i have asked the basic question
Thanks,
Durga.R
|
 |
fred rosenberger
lowercase baba
Bartender
Joined: Oct 02, 2003
Posts: 9956
|
|
|
Have you tried it? What happened?
|
Never ascribe to malice that which can be adequately explained by stupidity.
|
 |
Matthew Cox
Greenhorn
Joined: May 25, 2009
Posts: 29
|
|
This isn't a forum to have others do the explorational work or just hand you the answers.
Code it and try it youself and see if it even compiles.
|
 |
 |
|
|
subject: Interface
|
|
|