java.lang.Error: Unresolved compilation problem: The method printf(String, Object[]) in the type PrintStream is not applicable for the arguments (String, String)

Coderanch | Patrick De | 2 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    New Boston tutorial #16 - getting an error

    Coderanch | 2 years ago | Patrick De
    java.lang.Error: Unresolved compilation problem: The method printf(String, Object[]) in the type PrintStream is not applicable for the arguments (String, String)

    Root Cause Analysis

    1. 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()
    2. Unknown
      mainClass.main
      1. classOne.saying(classOne.java:12)
      2. mainClass.main(mainClass.java:13)
      2 frames