{"id":417,"date":"2012-01-04T19:15:43","date_gmt":"2012-01-04T19:15:43","guid":{"rendered":"http:\/\/blogs.kent.ac.uk\/mik\/?p=417"},"modified":"2022-09-14T14:54:56","modified_gmt":"2022-09-14T14:54:56","slug":"joc-classes-and-objects","status":"publish","type":"post","link":"https:\/\/blogs.kcl.ac.uk\/proged\/2012\/01\/04\/joc-classes-and-objects\/","title":{"rendered":"JoC #3: Classes and objects"},"content":{"rendered":"<p><em>\u00a0 \u00a0 If a man writes a book, let him set down only what he knows.<br \/>\n<em>\u00a0 \u00a0\u00a0<\/em>I have guesses\u00a0enough of my own.<\/em><br \/>\n<em>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u2014 Goethe<\/em><\/p>\n<p>Alright, now it finally starts getting interesting! After the previous talk about installation, now we&#8217;re getting started actually doing stuff.<\/p>\n<p>Watch this episode to get the first feel for working with Greenfoot, and see what classes and objects are all about.<\/p>\n<p><iframe loading=\"lazy\" title=\"The Joy of Code: Classes and Objects\" width=\"584\" height=\"329\" src=\"https:\/\/www.youtube.com\/embed\/tZNnYeqm5BU?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p style=\"text-align: right\"><a href=\"http:\/\/www.greenfoot.org\/static\/joc\/mov\/JOC-3.mov\">Download video<\/a><\/p>\n<p>Concepts discussed: <em>class, object, method, instance, return value, return type, void, int, boolean<\/em><\/p>\n<p>And, as I said in the video: Follow <a href=\"http:\/\/twitter.com\/#!\/JoyOfCode\">@JoyOfCode<\/a> on Twitter to get updates when new episodes are posted.<\/p>\n<p>Scenario download for this episode: <a href=\"http:\/\/www.greenfoot.org\/download\/files\/joc\/hedgehogs.zip\">hedgehogs.zip<\/a>\u00a0 \u00a0 \u00a0\u00a0<em>(save and unzip before opening)<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u00a0 \u00a0 If a man writes a book, let him set down only what he knows. \u00a0 \u00a0\u00a0I have guesses\u00a0enough of my own. \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u2014 Goethe Alright, now it finally starts getting interesting! After the previous &hellip; <a href=\"https:\/\/blogs.kcl.ac.uk\/proged\/2012\/01\/04\/joc-classes-and-objects\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":179,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15,6],"tags":[27,30,62,70,113],"class_list":["post-417","post","type-post","status-publish","format-standard","hentry","category-greenfoot-software-tools","category-joy-of-code","tag-boolean","tag-class","tag-int","tag-method","tag-type"],"_links":{"self":[{"href":"https:\/\/blogs.kcl.ac.uk\/proged\/wp-json\/wp\/v2\/posts\/417","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.kcl.ac.uk\/proged\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.kcl.ac.uk\/proged\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.kcl.ac.uk\/proged\/wp-json\/wp\/v2\/users\/179"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.kcl.ac.uk\/proged\/wp-json\/wp\/v2\/comments?post=417"}],"version-history":[{"count":2,"href":"https:\/\/blogs.kcl.ac.uk\/proged\/wp-json\/wp\/v2\/posts\/417\/revisions"}],"predecessor-version":[{"id":1113,"href":"https:\/\/blogs.kcl.ac.uk\/proged\/wp-json\/wp\/v2\/posts\/417\/revisions\/1113"}],"wp:attachment":[{"href":"https:\/\/blogs.kcl.ac.uk\/proged\/wp-json\/wp\/v2\/media?parent=417"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.kcl.ac.uk\/proged\/wp-json\/wp\/v2\/categories?post=417"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.kcl.ac.uk\/proged\/wp-json\/wp\/v2\/tags?post=417"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}