11 June 2017
Category:
JAVA
Comments: 0

Create a user-defined package box which has a class definition. For box having data member and disp( ) method

Write a program to accomplish following task.

  1. Create a user-defined package box which has a class definition. For box having data member and disp( ) method. (Assume suitable data).
  2. Source file imports above package and calculates the volume of the box.

 

Leave a Reply

Your email address will not be published. Required fields are marked *