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

Coderanch | Abhishek Mj | 4 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

    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