I am wondering why I cannot simply do this
System.out.println("Today: " + todayDatetime.display());
The method is
public void display() {
System.out.println(month + "/" + day + " " + hours + ":" + minutes + ":" + seconds);
}
I would like to have my method and text on the same line. Is there a possible way to turn it into a string maybe so I can have it print?