1
What is the output of this program?
class Shape { int width=2; int height=3; int length=5; int volume(int width , int height , int length) { return (width*height*length); } public static void main(String args[]) { Shape obj = new Shape(); System.out.println(obj.volume(4,2,7)); } }
30
56
Syntax error
none of the above