Even though I have given return statements, got error of methods not returning.. Can you please explain?
Error Msg:
Exception in thread "main" java.lang.Error: Unresolved compilation problem:
This method must return a result of type boolean
at SleepIn.whenSleepIn(SleepIn.java:10)
at SleepIn.main(SleepIn.java:25)