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

Home > Java Programming > Interface > Questions and Answers

Q: which is the valid definition of an interface called transportable given another valid interface moveable?
A. class moveable extends transportable { } B. class moveable implements transportable{}
C. interface transportable extends moveable{ } D. interface transportable implements moveable{ }

Answer and Explanation

Answer:interface transportable extends moveable{ }

Explanation:
an interface can extend another interface , an interface cannot implement another interface. And a class cannot extend an interface. So and is c).

Comment on this Question

Name:

Loading...




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