Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

java Q2 Using Bluej do the following: (3 Marks) a) Create an Interface called calculation with 4 variables a,b,c,d which accepts integer values and two

javaimage text in transcribed

Q2 Using Bluej do the following: (3 Marks) a) Create an Interface called calculation with 4 variables a,b,c,d which accepts integer values and two methods Sum() \& Average(). b) Create an abstract class calculate1 which will implement the interface and declare a method multiply() c) Create a class calculate2 which will implement the Interface and display the sum and average of a,b,c,d. d) Create a class calculate3 which will extend the abstract class and implements the interface and display the product of a,b,c,d using multiply0,sum and average of a \& b using Sum0 \& Average 0

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions