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 / 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 |
when exactly should we use throws ,and wen exactly should we use the try and catch for exceptional handling
what is difference between vector and arraylist?.
How to call the m1() method of Base class in below snippet ? class Base { public void m1() { System.out.println("Base m1 "); } public void m2() { System.out.println("Base m1 "); } } ====================== class Derived extends Base { public void m1() { System.out.println("Derived m1"); } public void m3() { System.out.println("Derived m3"); } public static void main(String[] args) { Base ob=new Derived(); ob.m1(); //System.out.println("Hello World!"+ob.m1()); } }
whats the relation ship between LDAP and JNDI?
what is jndi?
what is the diffrence between insurance and telecom domain?
What is deque in the java collections framework? : java collections
what is class/object diagram
What are the interfaces in java collections? : java collections
Difference between Spring framework and Struts framework?
12 Answers IBM, L&T, VAM,
Explain the OOPS concept in Realtime Scenarion ? Take example as CAR. Please explain indetail ?
Difference b/w >> and >>> ?