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

Home > Java Programming > Interface > Questions and Answers

Q: interface moveable{
Void move();
Void stop();
}

Which is valid?
A. Public class bicycle implements moveable{
Public void move(){}
}
B. Public class bicycle implements moveable{
void move(){}
void stop(){}
}
C. Public class bicycle extends moveable{
Public void move(){}
Public void stop(){}
}
D. Public class bicycle implements moveable{
Public void move(){}
Public void stop(){}
}

Answer and Explanation

Answer:Public class bicycle implements moveable{
Public void move(){}
Public void stop(){}
}

Explanation:
There is no explanation...

Comment on this Question

Name:

Loading...




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