Question
In C++, which feature allows hiding the internal details
of a class?Solution
Encapsulation bundles data and methods, hiding internal details from outside access.
- If the mean proportion of 1.44 and 2.25 is 'k', then find the value of '3k'.
Rs.14400 was divided among A, B and C in the ratio 3:4:5. B kept Rs.1000 for himself, gave Rs.800 to his mother and divided the remaining money among hi...
Rs 1375 was divided among Anil, Bhanu and Charan in the ratio of 8:5:12 respectively. Find the amount received by Anil and Bhanu together.
If 'S' is the prime number 5, then find the fourth proportion of (S + 3), (S - 1) and (S + 7).
Find the third proportional to 13 and 39?
In an office, the ratio of the number of males to number of females is 12:7. If 4 males joined the officeand 5 females left the office, then the ratio o...
Ratio between two numbers is 5:7 and their difference is 36. Find the sum of the given two numbers.
In a class, the ratio of number of boys to number of girls is 12:11. If 3 boys joined the class and 1 girl left the class, then the ratio becomes 7:6. F...
A bag contains 1 rupee, 50-paise, and 25-paise coins in the ratio 5 : 6 : 8. If the total amount is Rs. 240, find the number of 25-paise coins.
- The ratio of the pocket money of two persons βEβ and βFβ is 8:3, respectively. βEβ spends 75% of his pocket money while βFβ spends 50% of h...