Im new to java. how do i fix the problem with class

Printable View