Write a interface "CarOperations" with the following
methods
void turnOnEngin()
void turnOffEngin()
void turnOnLigths()
void turnOffLights()
void turnLeft()
void turnRight()
void accelerate()
void deaccelerate()
void putBreaks()
void releaseBreaks()
Answer Posted / lopus pmj
interface CarOperations{
void turnOnEngin();
void turnOffEngin();
void turnOnLigths();
void turnOffLights();
void turnLeft();
void turnRight();
void accelerate();
void deaccelerate();
void putBreaks();
void releaseBreaks();
}
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the use of hashcode in java ?
Hi Friends, i have searched in google but not clear. can you give bank example with synchronized keyword
What is deque in the java collections framework? : java collections
What is the Spring2.5 MVC Navigation flow?
Hi we have an urgent requirement for Java/J2ee technical lead position & also looking for "Java Guidewire claimcentre" experienced professional for Bangalore location if interested can reach srisanh@gmail.com
Which server-side script takes the input from JavaScript, can access the database if it needs to, and processes the data.
How is hashset maintained in memory by java ?
What are the uses of the set interfaces in the java collections? : java collections
In hyderabad, which s/w training center is best for java, other than corejava what r the new tools to learn in java,which tool is best & have current requirement,pls give me information about java to learn ?
What is java collection? : java collections
Hi Friends , am newbie to ajax. For example just consider one account registration - A form contains 8 text fields with submit button. In this form second texbox contains "username " . On right side of text box there is a label box . On clilck action i need to determine user is available or not. Is it possible on clicking label or should i click submit button.
What is the enumerator of the java collection framework? : java collections
please mail me the interview question based on java/j2ee
can u draw class/object diagram for ATM
Explain the OOPS concept in Realtime Scenarion ? Take example as CAR. Please explain indetail ?