Polymorphism is one of the fundamental principles of Object-Oriented Programming (OOP) and refers to the ability of a function, method, or operator to act on different types of data. The word “polymorphism” literally means "many forms," and in OOP, it allows objects of different classes to be treated as objects of a common superclass. The most common types of polymorphism are method overriding and method overloading .
Divide Rs 2,100 among P, Q and R, so that P shall receive 3/7 as much as Q and R together, and Q 2/3 of what P and R together receive. Find the share ...
The radii of two solid right circular cylinders are 6 cm and 4 cm respectively and their heights are (h+1) cm and (2h+1) cm respectively. If the areas o...
A factory manufactures three types of products: X, Y, and Z. The average production rates are 50 units per hour for product X, 80 units per hour for p...
Ratio between marked price of article A to article B is 5:6. Shopkeeper allowed d% discount on article ‘A’ and (d + 16)% discount on article ‘B’...
The number of boys and girls in a school is 140 and 250 respectively. 30% of boys left the school while 30 girls took admission in the school. Find the ...
P gave out 'a' cookies to Q, R, S, and T. The cookies received by Q and S are in a 4:7 ratio, and those received by R and T are in a 2:3 ratio. If R rec...
The ratio of males and females in a zoo is 4:5 respectively and the percentage of children among males and the percentage of children among females are ...
There are 15 numbers such that average of first 12 numbers is 30 while the average of last five numbers is 50. Find the 12th number, if the ratio betwee...
A box contains red, blue, and green balls in the ratio of 3:4:5. If there are 60 balls in total, how many blue balls are there?
Four numbers A, B, C and D are such that the ratio of A:B is 4:7 and ratio of B:C is 3:5. If the sum of A and D is 100 and sum of C and D is 146, then f...