Question
.Consider the following Java code: class Shape
{   void draw() {     System.out.println("Drawing a generic shape");   } } class Circle extends Shape {   @Override   void draw() {     System.out.println("Drawing a circle");   } } class Rectangle extends Shape {   @Override   void draw() {     System.out.println("Drawing a rectangle");   } } public class TestPolymorphism {   public static void main(String[] args) {     Shape s1 = new Circle();     Shape s2 = new Rectangle();     Shape s3 = new Shape();     s1.draw();     s2.draw();     s3.draw();   } } What will be the output of this code?Solution
The correct answer is A
Epiricania melanoleuca, an ectoparasitoid is effective against
Which of the following erosion is the removal of soil by running water with the formation of an areas of small branching channels. It can be removed by ...
A form of expression of quantity of water required for irrigation to bring a crop maturity is called ______.
Which of the following primary tillage operation is used to invert the soil partially or completely?Â
In the following given options, What is the importance of mitosis cell division?
Volatile substance emitted by the ripening fruits is known as:
Soil structural units having horizontal axis much longer than vertical axis. Such type of soil structure is known as
The third advance estimate for total Horticulture production in 2023-24 is closest to:
National Gopal Ratna Award is presented by which ministry?
…………….. was established in 1972 under the Ministry of commerce and industry for promotion of export of marine products from India.
...