Java program with interface Area to Compute the area of rectangle and triangle by Mahesh Huddar

preview_player
Показать описание
Java program with interface Area to Compute the area of rectangle and triangle by Mahesh Huddar

In this video, I will discuss how to write a Java program to define an interface called Area which contains a method called Compute() and calculate areas of the rectangle(I*b) and triangle(1/2*b*h) using classes Rectangle and Triangle.

Blog / Source Code:

********************************

4. Like, Share, Subscribe, and Don't forget to press the bell ICON for regular updates
Рекомендации по теме
Комментарии
Автор

Because I have a midterm java oop next week. You teach very well.Do you have pdf that about examples of oop

bigulucuk
Автор

Please could you solve much more questions that like this

bigulucuk