{"action":"opened","issue":{"url":"https://api.github.com/repos/HideoSato/firstserver/issues/28","labels_url":"https://api.github.com/repos/HideoSato/firstserver/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/HideoSato/firstserver/issues/28/comments","events_url":"https://api.github.com/repos/HideoSato/firstserver/issues/28/events","html_url":"https://github.com/HideoSato/firstserver/issues/28","id":90560727,"number":28,"title":"class /　クラスの作成方法","user":{"login":"HideoSato","id":5094064,"avatar_url":"https://avatars.githubusercontent.com/u/5094064?v=3","gravatar_id":"","url":"https://api.github.com/users/HideoSato","html_url":"https://github.com/HideoSato","followers_url":"https://api.github.com/users/HideoSato/followers","following_url":"https://api.github.com/users/HideoSato/following{/other_user}","gists_url":"https://api.github.com/users/HideoSato/gists{/gist_id}","starred_url":"https://api.github.com/users/HideoSato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HideoSato/subscriptions","organizations_url":"https://api.github.com/users/HideoSato/orgs","repos_url":"https://api.github.com/users/HideoSato/repos","events_url":"https://api.github.com/users/HideoSato/events{/privacy}","received_events_url":"https://api.github.com/users/HideoSato/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-24T04:23:33Z","updated_at":"2015-06-24T04:23:33Z","closed_at":null,"body":"オブジェクト指向プログラミングのひとつの特徴はカプセル化です。\r\n簡単に言えば、フィールド（情報）やメソッド（機能や操作）の公開範囲を\r\n可能な限り狭くすることで、安全にオブジェクトを扱うことができる、ということです。\r\n\r\nこのため、古典的なJavaのコーディング標準では、\r\n「全てのフィールドをprivateに設定し、必要に応じてアクセサメソッドを定義すること」\r\nとなっています。"}}