Welcome Guest | Sign in | Register
Interface - Discussion Page For Q.2888 | Java Programming Questions and Answers | Java Programming Free Online-Tests | LucentBlackBoard | LucentBlackBoard.com

Home > Java Programming > Interface > Questions and Answers

Q: Interface A{}
Interface B{}
Interface C extends A, B{}

What will happen if I compile above code?
A. compile time error B. run time error
C. Can not possible D. none of the above

Answer and Explanation

Answer:none of the above

Explanation:
an interface can extend multiple interface , but it can not implement multiple interface, only a class can implement multiple interface
So ans is d)

Comment on this Question

Name:

Loading...




Partner Sites
LucentBlackBoard.com                  SoftLucent.com                  LucentJobs.com
All rights reserved © 2012-2015 SoftLucent.