{"id":65868,"date":"2021-07-16T22:44:08","date_gmt":"2021-07-17T02:44:08","guid":{"rendered":"http:\/\/bangla.salearningschool.com\/recent-posts\/scjp-training-lesson-5-oo-concepts-java-short-notes-scjp\/"},"modified":"2022-05-27T22:45:15","modified_gmt":"2022-05-28T02:45:15","slug":"scjp-training-lesson-5-oo-concepts-java-short-notes-scjp","status":"publish","type":"post","link":"http:\/\/bangla.sitestree.com\/?p=65868","title":{"rendered":"SCJP Training: Lesson 5: OO Concepts #Java Short Notes #SCJP"},"content":{"rendered":"<ul>\n<li><a target=\"new\" href=\"http:\/\/java.sun.com\/docs\/books\/tutorial\/java\/IandI\/subclasses.html\" rel=\"noopener\">Inheritance<\/a><\/li>\n<li><a target=\"new\" href=\"http:\/\/java.sun.com\/docs\/books\/tutorial\/java\/IandI\/subclasses.html\" rel=\"noopener\">Inheritance<\/a><\/li>\n<li><a target=\"new\" href=\"http:\/\/java.sun.com\/docs\/books\/tutorial\/java\/IandI\/override.html\" rel=\"noopener\">Overriding and Hiding Methods<\/a><\/li>\n<li><a target=\"new\" href=\"http:\/\/java.sun.com\/docs\/books\/tutorial\/java\/IandI\/super.html\" rel=\"noopener\">Using the Keyword super<\/a><\/li>\n<li><a target=\"new\" href=\"http:\/\/java.sun.com\/docs\/books\/tutorial\/java\/IandI\/override.html\" rel=\"noopener\">Overriding and Hiding Methods<\/a><\/li>\n<li><a target=\"new\" href=\"http:\/\/java.sun.com\/docs\/books\/tutorial\/java\/javaOO\/methods.html\" rel=\"noopener\">Defining Methods<\/a><\/li>\n<li><a target=\"new\" href=\"http:\/\/java.sun.com\/docs\/books\/tutorial\/java\/IandI\/super.html\" rel=\"noopener\">Using the Keyword super<\/a><\/li>\n<\/ul>\n<p> From: http:\/\/sitestree.com\/?p=5052<br \/> Categories:Java Short Notes, SCJP<br \/>Tags:<br \/> Post Data:2009-12-15 16:31:08<\/p>\n<p>\t\tShop Online: <a href='https:\/\/www.ShopForSoul.com\/' target='new' rel=\"noopener\">https:\/\/www.ShopForSoul.com\/<\/a><br \/>\n\t\t(Big Data, Cloud, Security, Machine Learning): Courses: <a href='http:\/\/Training.SitesTree.com' target='new' rel=\"noopener\"> http:\/\/Training.SitesTree.com<\/a><br \/>\n\t\tIn Bengali: <a href='http:\/\/Bangla.SaLearningSchool.com' target='new' rel=\"noopener\">http:\/\/Bangla.SaLearningSchool.com<\/a><br \/>\n\t\t<a href='http:\/\/SitesTree.com' target='new' rel=\"noopener\">http:\/\/SitesTree.com<\/a><br \/>\n\t\t8112223 Canada Inc.\/JustEtc: <a href='http:\/\/JustEtc.net' target='new' rel=\"noopener\">http:\/\/JustEtc.net (Software\/Web\/Mobile\/Big-Data\/Machine Learning) <\/a><br \/>\n\t\tShop Online: <a href='https:\/\/www.ShopForSoul.com'> https:\/\/www.ShopForSoul.com\/<\/a><br \/>\n\t\tMedium: <a href='https:\/\/medium.com\/@SayedAhmedCanada' target='new' rel=\"noopener\"> https:\/\/medium.com\/@SayedAhmedCanada <\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Inheritance Inheritance Overriding and Hiding Methods Using the Keyword super Overriding and Hiding Methods Defining Methods Using the Keyword super From: http:\/\/sitestree.com\/?p=5052 Categories:Java Short Notes, SCJPTags: Post Data:2009-12-15 16:31:08 Shop Online: https:\/\/www.ShopForSoul.com\/ (Big Data, Cloud, Security, Machine Learning): Courses: http:\/\/Training.SitesTree.com In Bengali: http:\/\/Bangla.SaLearningSchool.com http:\/\/SitesTree.com 8112223 Canada Inc.\/JustEtc: http:\/\/JustEtc.net (Software\/Web\/Mobile\/Big-Data\/Machine Learning) Shop Online: https:\/\/www.ShopForSoul.com\/ Medium: https:\/\/medium.com\/@SayedAhmedCanada<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1917,1954],"tags":[],"class_list":["post-65868","post","type-post","status-publish","format-standard","hentry","category-fromsitestree-com","category-scjp-ocjp","item-wrap"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":74773,"url":"http:\/\/bangla.sitestree.com\/?p=74773","url_meta":{"origin":65868,"position":0},"title":"Are you interested in becoming a Java Developer and OCJP","author":"Sayed","date":"May 31, 2022","format":false,"excerpt":"Are you interested in becoming a Java Developer and OCJP? OCJP: Oracle Certified Java Programmer? Are you interested in a Java based career track? Short Notes on: OCJP: Oracle Certified Java Programmer Certification. Written long back in the SCJP time. These are for quick review purposes, not really to learn\u2026","rel":"","context":"In &quot;\u09ac\u09cd\u09b2\u0997 \u0964 Blog&quot;","block_context":{"text":"\u09ac\u09cd\u09b2\u0997 \u0964 Blog","link":"http:\/\/bangla.sitestree.com\/?cat=182"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":65842,"url":"http:\/\/bangla.sitestree.com\/?p=65842","url_meta":{"origin":65868,"position":1},"title":"SCJP: Random Stuffs #Java Short Notes #SCJP","author":"Sayed","date":"July 16, 2021","format":false,"excerpt":"An enum may NOT be declared in a method An enum can be imported If the JVM has a choice, it will select a method without varargs before selecting a method with varargs When enums are equal, both .equals and == always return true The headMap() method returns the portion\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":65838,"url":"http:\/\/bangla.sitestree.com\/?p=65838","url_meta":{"origin":65868,"position":2},"title":"SCJP: Class Declarations #Java Short Notes #SCJP","author":"Sayed","date":"July 16, 2021","format":false,"excerpt":"class declarations Start with modifiers such as public, private followed by class keyword The class name, with the initial letter capitalized The name of the class's parent (superclass), preceded by the keyword extends (if any). A class can only extend (subclass) one parent. list of interfaces implemented by the class,\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":65860,"url":"http:\/\/bangla.sitestree.com\/?p=65860","url_meta":{"origin":65868,"position":3},"title":"SCJP Training: Lesson 1: Develop code that declares classes (including abstract and all forms of nested classes), interfaces, and enums, and includes the appropriate use of package and import statements (including static imports). #Java Short Notes #SCJP","author":"Sayed","date":"July 16, 2021","format":false,"excerpt":"Declaring ClassesAbstract Methods and ClassesNested ClassesInterfacesEnum TypesCreating and Using Packages Using Package Members (import statements, static imports)Defining an InterfaceImplementing an InterfaceAbstract Methods and ClassesPrimitive Data TypesArraysEnum TypesUnderstanding Instance and Class MembersVariables Declaring Member VariablesUnderstanding Instance and Class MembersPassing Information to a Method or ConstructorOverriding and Hiding MethodsDefining Methods (overloading)Returning a\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":65844,"url":"http:\/\/bangla.sitestree.com\/?p=65844","url_meta":{"origin":65868,"position":4},"title":"Java : SCJP: Important Resources #Java Short Notes #SCJP","author":"Sayed","date":"July 16, 2021","format":false,"excerpt":"How to use generics to avoid runtime errors. More Generics Class casting in Java: How to avoid runtime exception - ClassCastException: overloading, overriding, variable and method hiding Java HotSpot virtual machine What Java Technology can do? Offers from Java Technology Java:Common Problems (and Their Solutions) Benefits of OOP: Modularity, Information-hiding,\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":65824,"url":"http:\/\/bangla.sitestree.com\/?p=65824","url_meta":{"origin":65868,"position":5},"title":"SCJP: Garbage Collection #Java Short Notes #SCJP","author":"Sayed","date":"July 15, 2021","format":false,"excerpt":"Garbage Collection Java itself does memory management. You do not need to allocate memory at the time of object creation; also you do not need to free memory explicitly Object is created either on the heap or on a stack Memory heap: Objects created with new keyword are placed in\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/65868","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=65868"}],"version-history":[{"count":2,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/65868\/revisions"}],"predecessor-version":[{"id":74732,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/65868\/revisions\/74732"}],"wp:attachment":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=65868"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=65868"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=65868"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}