No, the .class extension should not be there.Instead run the file like thisjava TextPadTestbut, this is confusing, use the compiler withextension, like this (of course before the one above)javac TextPadTest.javabut of course you knew that one