Question :Can an Interface have an inner class? (CoreJava)
Answer :Yes. Interface can have an inner class. The possible use of this is to
provide multiple inheritance in java. A class "abc1" can extend normal
class "abc2" and can implement an Interface "abc" having an inner class
"abc3". This way class "abc1" can get the functionality of both "abc2" and
"abc3" classes.
www.interviewhelper.org is a hope for all the Job seekers. Users can find unlimited here. These range from technical to HR, from functional to behavioral. www.interviewhelper.org contains in the fields like Ajax,VB,Networking,Sharepoint,JEE,Perl,Javascript,Bioinformatics,Classic ASP,Unix,Linux,Accounting,Oracle DBA,Microprocessor,Bluetooth,jms,jme,.net framework,ABAP,ASP,ASP.net,Basic .net Framework,Interview Questions,C language,C++,database,Oracle,Java,PHP,LAMP,SAP etc.
Thursday, March 12, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment