Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Constructor_Overloading
Create a class named 'Box' with three data members- length, breadth and height and a
method to calculate the volume which is 'length*breadth*height'. The class has three
method to calculate the volume which is
volume = length * breadth * height .
The class has three
constructors which are :
1 - Having no parameter - values of both length, breadth and height are assigned zero.
2 - Having three numbers as parameters - the three numbers are assigned as length,
Expand Down