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
What is inheritance write a program to show use of inheritance?
Why is destructor used?
what is difference between class template and template class?
Why multiple inheritance is not allowed?
Can we override main method?
What is inheritance in simple words?
Who invented oop?
What is overloading in oop?
What is abstraction in oop?
Can destructor be overloaded?
What polymorphism means?
What is difference between data abstraction and encapsulation?
What is static modifier?
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer
What does and I oop and sksksk mean?