• Post Reply Bookmark Topic Watch Topic
  • New Topic

Interface  RSS feed

 
durga ramakrishnan
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12443
42
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you tried it? What happened?
 
Matthew Cox
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!