If a method returns void
then there is nothing to print, hence this error message. Since printPoint already prints data to the console, you should just call it directly:
printPoint (blank);
More Related Contents:
- Switch statement not going through all cases
- why i multiply many number make a mistake when i division?
- Setting the default Java character encoding
- Environment variables for java installation
- Java: parse int value from a char
- Hibernate: different object with the same identifier value was already associated with the session [duplicate]
- Hibernate, @SequenceGenerator and allocationSize
- How to call the overridden method of a superclass?
- How to add a new line of text to an existing file in Java? [duplicate]
- Why only 1 public class in Java file
- Is it not possible to have a code in the background who will be called every 24h? [closed]
- Any recommended Java profiling tutorial? [closed]
- Why maven? What are the benefits? [closed]
- Performance penalty of String.intern()
- Ant is using wrong java version
- How can I print a single JPanel’s contents?
- Private members in Java inheritance
- Java String.substring method potential memory leak?
- Serialize JavaFX components
- Java SPNEGO Authentication & Kerberos Constrained Delegation (KCD) to backend service
- Sending commands to server via JSch shell channel
- What does >> do in Java?
- How to kill a process in Java, given a specific PID
- Avoid item label overlap in time series 1D plots (JFreeChart)
- Java Swing Timer Countdown
- SimpleDateFormatter.parse giving output in different format than specified
- Is there a Java equivalent to C#’s ‘yield’ keyword?
- Can’t get past 2542 Threads in Java on 4GB iMac OSX 10.6.3 Snow Leopard (32bit)
- How to create a JPA query with LEFT OUTER JOIN
- Java 7 Automatic Resource Management JDBC (try-with-resources statement)