aspose file tools*
The moose likes Beginning Java and the fly likes Interface Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Interface" Watch "Interface" New topic
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: 11475
    
  16

Have you tried it? What happened?


There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Interface