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
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  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