• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

schedule method from OCP study guide book does not finish

 
Ranch Hand
Posts: 80
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone!. I have a question about the exercise bellow that i coded of page 346 (jeanne and scott book) because result2 does not finish when i run it and I dont know why, being that the book does not specify it. Just, in order to make the test, I changed MINUTES by SECONDS for result2.



What the book says is: The first task is scheduled 10 seconds in the future, whereas the second task is scheduled 8 minutes in the future.

Thanks!
 
Pablo Napoli
Ranch Hand
Posts: 80
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I looked that I took literaly the exercise and what's going on is that I'm not shutting down the service.
 
author & internet detective
Posts: 40035
809
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Pablo,
Yeah. I find it annoying that is how the API works. But it does and is in scope for the exam. So we try to trick you with it
 
Think of how stupid the average person is. And how half of them are stupider than that. But who reads this tiny ad?
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic