Question
In a language like C++, if a member variable is declared
protected, it means:Solution
The protected access modifier allows members to be accessed by methods within the class itself and by methods within any class that inherits from it (derived classes). It provides a level of access between private (most restrictive) and public (least restrictive).
The number of solid spheres, each of diameter 8cm, that could be molded to form a solid metal cylinder of height 64cm and diameter 4cm is:
The area of a square is 38 sq. cm more than the area of a rectangle of length 19 cm and breadth 17 cm. What will be the area of incircle of the square?
The volume of a hemisphere is 2425 (1/ 2) cm3. Find its diameter (Take p = 22/7)
If the radius of a right circular cylinder open at both the ends, is decreased by 25% and the height of the cylinder is increased by 25%. Then the curve...
The sum of the radius and height of a cylinder is 42m. The total surface area of the cylinder is 5544 m². What is the volume of the cylinder?
The ratio of the radii of two right circular cylinders (A and B) is 3 : 4.The ratio of the heights of cylinders A to B is 5 : 1. What is the ratio of th...
A cuboid of dimensions 18 cm × 12 cm × 10 cm is melted and recast into cubes of side 6 cm. How many cubes are formed?
Two right circular cones of equal height of radius of base 3cm and 4cm are melted together and made into a solid sphere of radius 5 cm. The height of th...
A solid cuboid (rectangular parallelepiped) has dimensions 20 cm × 16 cm × 12 cm. It is cut into small cubes, each of side 4 cm. How many such cubes a...
If ratio of interior & exterior angle of a regular polygon is 4:5, then number of sides of the polygon is