There are 2 empty jars of 5 and 3 liters capacity. And a
river is flowing besides. I want to measure 4 liters of
wanter using these 2 jars. How do you do this?
Answer Posted / guest
First fill up the 5 liters jar and start filling 3 liters
jar. so now second jar has 3 liters and first jar has 2
liters. Now again fill 5 liters fully and to complete
second jar 1 liter is needed. So, put water in second jar
from first jar. so, 3 liters jar is full now. And first jar
has 4 liters water.
| Is This Answer Correct ? | 4 Yes | 6 No |
Post New Answer View All Answers
Why do we use class?
to find out the minimum of two integer number of two different classes using friend function
Which is better struts or spring?
What are the components of marker interface?
What is an example of genetic polymorphism?
What is encapsulation process?
Describe these concepts: Polymorphism, Inheritance and Abstraction.
What do you mean by variable?
What is destructor in oop?
Can we create object of abstract class?
What is purpose of inheritance?
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
class type to basic type conversion
What is persistence in oop?
how to get the oracle certification? send me the answer