{"id":388,"date":"2007-10-21T00:00:00","date_gmt":"2007-10-21T00:00:00","guid":{"rendered":"http:\/\/www.strongd.net\/?p=388"},"modified":"2007-10-21T00:00:00","modified_gmt":"2007-10-21T00:00:00","slug":"Questions and Exercises: Object-Oriented Programming Concepts","status":"publish","type":"post","link":"https:\/\/www.strongd.net\/?p=388","title":{"rendered":"Questions and Exercises: Object-Oriented Programming Concepts"},"content":{"rendered":"<p><DIV><br \/>\n<DIV id=PageTitle>Questions and Exercises: Object-Oriented Programming Concepts<\/DIV><br \/>\n<BLOCKQUOTE><\/BLOCKQUOTE><br \/>\n<H3>Questions<\/H3><br \/>\n<BLOCKQUOTE><br \/>\n<OL><br \/>\n<LI>Real-world objects contain ___ and ___.<br \/>\n<P><\/P><\/LI><br \/>\n<LI>A software object&#8217;s state is stored in ___.<br \/>\n<P><\/P><\/LI><br \/>\n<LI>A software object&#8217;s behavior is exposed through ___.<br \/>\n<P><\/P><\/LI><br \/>\n<LI>Hiding internal data from the outside world, and accessing it only through publicly exposed methods is known as data ___.<br \/>\n<P><\/P><\/LI><br \/>\n<LI>A blueprint for a software object is called a ___.<br \/>\n<P><\/P><\/LI><br \/>\n<LI>Common behavior can be defined in a ___ and inherited into a ___ using the ___ keyword.<br \/>\n<P><\/P><\/LI><br \/>\n<LI>A collection of methods with no implementation is called an ___.<br \/>\n<P><\/P><\/LI><br \/>\n<LI>A namespace that organizes classes and interfaces by functionality is called a ___.<br \/>\n<P><\/P><\/LI><br \/>\n<LI>The term API stands for ___? <\/LI><\/OL><\/BLOCKQUOTE><br \/>\n<H3>Exercises<\/H3><br \/>\n<BLOCKQUOTE><br \/>\n<OL><br \/>\n<LI>Create new classes for each real-world object that you observed at the beginning of this trail. Refer to the Bicycle class if you forget the required syntax.<br \/>\n<P><\/P><\/LI><br \/>\n<LI>For each new class that you&#8217;ve created above, create an interface that defines its behavior, then require your class to implement it. Omit one or two methods and try compiling. What does the error look like? <\/LI><\/OL><\/BLOCKQUOTE><A class=TutorialLink href=\"http:\/\/www.strongd.net\/blog\/show\/387\" target=_top>Check your answers.<\/A><\/DIV><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Questions and Exercises: Object-Oriented Programming Concepts Questions Real-world objects contain ___ and ___. A software object&#8217;s state is stored in ___. A software object&#8217;s behavior is exposed through ___. Hiding internal data from the outside world, and accessing it only through publicly exposed methods is known as data ___. A blueprint for a software object &hellip; <a href=\"https:\/\/www.strongd.net\/?p=388\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Questions and Exercises: Object-Oriented Programming Concepts<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-388","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/posts\/388","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.strongd.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=388"}],"version-history":[{"count":0,"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/posts\/388\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.strongd.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=388"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.strongd.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=388"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.strongd.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=388"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}