{"comment":{"url":"https://api.github.com/repos/ShpetnyEugene/OOP/comments/13326076","html_url":"https://github.com/ShpetnyEugene/OOP/commit/a7220ec8d755a0ab808dde30914be5979c9b4f7e#commitcomment-13326076","id":13326076,"user":{"login":"nesterione","id":2493550,"avatar_url":"https://avatars.githubusercontent.com/u/2493550?v=3","gravatar_id":"","url":"https://api.github.com/users/nesterione","html_url":"https://github.com/nesterione","followers_url":"https://api.github.com/users/nesterione/followers","following_url":"https://api.github.com/users/nesterione/following{/other_user}","gists_url":"https://api.github.com/users/nesterione/gists{/gist_id}","starred_url":"https://api.github.com/users/nesterione/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nesterione/subscriptions","organizations_url":"https://api.github.com/users/nesterione/orgs","repos_url":"https://api.github.com/users/nesterione/repos","events_url":"https://api.github.com/users/nesterione/events{/privacy}","received_events_url":"https://api.github.com/users/nesterione/received_events","type":"User","site_admin":false},"position":12,"line":12,"path":"src/Lab_2/Input.java","commit_id":"a7220ec8d755a0ab808dde30914be5979c9b4f7e","created_at":"2015-09-19T18:44:23Z","updated_at":"2015-09-19T18:44:23Z","body":"Предлагая сделать этот класс статическим, тогда Scanner нужно пометить как static и все методы тоже. Тогда будешь обращаться к методам по имени класса "}}