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()



Write a interface "CarOperations" with the following methods void turnOnEngin() ..

Answer / 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

More Java J2EE AllOther Interview Questions

What are the different types of features of the java collections framework? : java collections

0 Answers  


What are the different types of collections views being provided by the map interface? : java collections

0 Answers  


Which server-side script takes the input from JavaScript, can access the database if it needs to, and processes the data.

0 Answers  


what protocols does JNDI provide an interface to?

1 Answers  


Which of the following declaration is wrong? int i=45; float j = 45.0; double k=45.0;

5 Answers   Adobe,






what is difference between struts1.2 and struts2.0

1 Answers  


"Sun Certified Java Programmer" This is one String , we need to print SCJP, write the java code dynamically? pls reply this questions

6 Answers   Photon,


what is difference between web server and application server?

1 Answers   L&T,


What is the servletcontext listener and what is JspContext and page context pls tell in simple words.

1 Answers   IBM,


what is the difference between checked and unchecked Exceptions?

4 Answers   CTS,


What is an Ioc pattern? There are assemblies in .net for establishing this task, Whats the special in Java /j2ee technologies about IOC

2 Answers  


what is diff string and stringbuffer

7 Answers   CTS, HCL,


Categories