OOAD 2017 old paper Solution

Group C Q.no 8 Step 1

Create an interface. Shape.java Step 2 Create concrete classes implementing the same interface. Rectangle.java

Square.java

Circle.java

Step 3 Create a Factory to generate object of concrete class based on given information. ShapeFactory.java

Step 4 Use the Factory to get object of concrete class by […]

Continue Reading