I got below mentioned error on my JBOSS console
The method println(boolean) in the type PrintStream is not applicable for the arguments (void)
How to solve this error.
1. Check syntax error.
Check for any typo around SOP.
System.out.println("Hello World!");
2. Check for any void function inside SOP.
System.out.println(obj.voidFunction());
//Here void function is not allowed. Function must return some value to print
If you need help with java programming. You can contact assignmentoverflow.com.
The method println(boolean) in the type PrintStream is not applicable for the arguments (void)
How to solve this error.
1. Check syntax error.
Check for any typo around SOP.
System.out.println("Hello World!");
2. Check for any void function inside SOP.
System.out.println(obj.voidFunction());
//Here void function is not allowed. Function must return some value to print
If you need help with java programming. You can contact assignmentoverflow.com.