'Static' methods cannot use 'this' keyword.
3. Create 'static' specified method 'setDimensions( )' containing the parameters same as instance variable of this class (i.e. width, height and depth) and this 'static' specified method tries to use 'this' to differentiate the instance variables from the parameters of this method as shown below:
Observe that errors are displayed in the statements that are using 'this' keyword
After looking at this error 'Cannot use this in static context', its very clear that we cannot use 'this' keyword in a static method.