{"comment":{"url":"https://api.github.com/repos/loiane/curso-java-basico/comments/16060168","html_url":"https://github.com/loiane/curso-java-basico/commit/7c5f41654018c7b37eb07b1f92dd16fc57a14f0c#commitcomment-16060168","id":16060168,"user":{"login":"loiane","id":59545,"avatar_url":"https://avatars.githubusercontent.com/u/59545?v=3","gravatar_id":"","url":"https://api.github.com/users/loiane","html_url":"https://github.com/loiane","followers_url":"https://api.github.com/users/loiane/followers","following_url":"https://api.github.com/users/loiane/following{/other_user}","gists_url":"https://api.github.com/users/loiane/gists{/gist_id}","starred_url":"https://api.github.com/users/loiane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loiane/subscriptions","organizations_url":"https://api.github.com/users/loiane/orgs","repos_url":"https://api.github.com/users/loiane/repos","events_url":"https://api.github.com/users/loiane/events{/privacy}","received_events_url":"https://api.github.com/users/loiane/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":"","commit_id":"7c5f41654018c7b37eb07b1f92dd16fc57a14f0c","created_at":"2016-02-12T13:39:10Z","updated_at":"2016-02-12T13:39:10Z","body":"Olá, isso pode acontecer se logo após a chamada do scan.nextLine() tiver um System.out.pritln. Nesse caso vc precisa colocar o scan.nextLine() e guardar o valor e logo em seguida colocar outro scan.nextLine() pra \"ler\" a linha que foi impressa. Esse probleminha é do Java mesmo :("}}