{"height":"190","version":"1.0","provider_name":"Hatena Blog","image_url":null,"blog_url":"https://blog1.mammb.com/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog1.mammb.com%2Fentry%2F20090610%2F1244653354\" title=\"\u30af\u30e9\u30b9 - A Memorandum\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["Scala"],"type":"rich","provider_url":"https://hatena.blog","title":"\u30af\u30e9\u30b9","author_url":"https://blog.hatena.ne.jp/Naotsugu/","width":"100%","description":"\u30af\u30e9\u30b9\u306f Java \u3068\u540c\u69d8\u306b class \u30ad\u30fc\u30ef\u30fc\u30c9\u3067\u5b9a\u7fa9\u3057\u307e\u3059\u3002 class Book { val title = \"Scala\" def printTitle() = println(\"Title:\" + title) } object Main extends Application { val b = new Book() b.printTitle() //Title:Scala }\u4e0a\u8a18\u30af\u30e9\u30b9\u3092\u3088\u308aScala\u3063\u307d\u304f\u3059\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002 class Book(title:String) { def printTitle() = println(\"Title:\" + title)\u2026","blog_title":"A Memorandum","author_name":"Naotsugu","published":"2009-06-10 02:02:34","url":"https://blog1.mammb.com/entry/20090610/1244653354"}