Right view problem

whats the use of making sol class here

@deepakjumani09
hello deepak,
there is not any special use of class .
you can do it without any class