Question
In C++, which access specifier allows members to be
accessible only within the class?Solution
private members cannot be accessed outside the class, ensuring encapsulation.
A can complete 40% of a work in 6 days and B can complete 33(1/3)% of the same work in 8 days. They work together for 8 days. C alone completes the rem...
A contractor assigned a job to three persons A, B and C. βAβ which is 25% less efficient than βBβ can complete 20% of a work in 8 days. βCβ ...
A and B can complete a work together in 36 days. If A alone can complete one-fourth of the work in ‘x’ days and remaining work is completed ...
A motorboat whose speed is 20 km/h in still water takes 30 minutes more to go 24 km upstream than to cover the same distance downstream. If the speed of...
3 men dig a hole in 10 days. How many days would it take for 5 men to dig the same hole ?
A can complete 25% of the work in 4 days, B can complete 50% of the same work in 12 days and C can complete the same work in 32 days. They staned worki...
A man on the top of a tower, standing on the sea-shore, finds that a boat coming towards him takes 10 minutes for the angle of depression to change fro...
A started a work such that he can complete the whole work in 30 hours. After working for 10 hours, he worked with the rate such that the whole work can ...
A is thrice as efficient as B and can finish a piece of work in 28 days less than B. B can finish this work in how many days?
A can complete a certain work in 30 days. B is 25% more efficient than A and C is 20% more efficient than B. They all worked together for 3 days. B alon...