The posted code will not compile without import statements for the classes that are used.
There is no main() method needed to execute the class.
Type: Posts; User: Norm
The posted code will not compile without import statements for the classes that are used.
There is no main() method needed to execute the class.
Please make a small complete program that compiles, executes and shows the problem.