I am using the NewBoston tutorials and have come across an error. After checking it over time and time again, my code is exactly the same (I think). I cannot find out where I went wrong. It is in two classes, here is the code:
classOne code
The error is :
Exception in
thread "main" java.lang.Error: Unresolved compilation problem:
The method printf(
String, Object[]) in the type PrintStream is not applicable for the arguments (String, String)
at classOne.saying(classOne.java:12)
at mainClass.main(mainClass.java:13)