java.lang.Error: Unresolved compilation problem: This method must return a result of type boolean

Coderanch | Abhishek Mj | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Error w.r.t return values for a method

    Coderanch | 4 years ago | Abhishek Mj
    java.lang.Error: Unresolved compilation problem: This method must return a result of type boolean

    Root Cause Analysis

    1. java.lang.Error

      Unresolved compilation problem: This method must return a result of type boolean

      at SleepIn.whenSleepIn()
    2. Unknown
      SleepIn.main
      1. SleepIn.whenSleepIn(SleepIn.java:10)
      2. SleepIn.main(SleepIn.java:25)
      2 frames