{"id":65946,"date":"2021-07-18T04:10:05","date_gmt":"2021-07-18T08:10:05","guid":{"rendered":"http:\/\/bangla.salearningschool.com\/recent-posts\/java-collection-framework-java-short-notes\/"},"modified":"2021-07-18T04:10:05","modified_gmt":"2021-07-18T08:10:05","slug":"java-collection-framework-java-short-notes","status":"publish","type":"post","link":"http:\/\/bangla.sitestree.com\/?p=65946","title":{"rendered":"Java Collection Framework #Java Short Notes"},"content":{"rendered":"<table summary=\"\" border=\"1\" cellpadding=\"3\" cellspacing=\"0\">\n<caption>                    Array                  <\/caption>\n<tr>\n<th>                      Benefits                    <\/th>\n<th>                      Constraints                    <\/th>\n<\/tr>\n<tr valign=\"top\">\n<td>\n<ul>\n<li>Data access is fast.                        <\/li>\n<li>Good for ordered data, which is not                        changed or searched frequently.                        <\/li>\n<\/ul>\n<\/td>\n<td>\n<ul>\n<li>Inefficient if number of elements                        grow.                        <\/li>\n<li>Inefficient if an element to be                        inserted in middle of collection.                        <\/li>\n<li>Provides no special search mechanism.                        <\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<\/table>\n<table summary=\"\" border=\"1\" cellpadding=\"3\" cellspacing=\"0\">\n<caption>                    Linked List                  <\/caption>\n<tr>\n<th>                      Benefits                    <\/th>\n<th>                      Constraints                    <\/th>\n<\/tr>\n<tr valign=\"top\">\n<td>\n<ul>\n<li>Allows efficient inserts\/delete at                        any location                        <\/li>\n<li>Allows arbitrary growth of                        collection.                        <\/li>\n<li>Applying order to the elements is                        easy.                        <\/li>\n<\/ul>\n<\/td>\n<td>\n<ul>\n<li>Slower while accessing elements by                        index.                        <\/li>\n<li>No special search mechanism is                        provided.                        <\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<\/table>\n<p>                <\/p>\n<table summary=\"\" border=\"1\" cellpadding=\"3\" cellspacing=\"0\">\n<caption>                    Tree                  <\/caption>\n<tr>\n<th>                      Benefits                    <\/th>\n<th>                      Constraints                    <\/th>\n<\/tr>\n<tr valign=\"top\">\n<td>\n<ul>\n<li>Easy addition\/deletion in middle.                        <\/li>\n<li>Allows arbitrary growth.                        <\/li>\n<li>A better and efficient search                        mechanism.                        <\/li>\n<\/ul>\n<\/td>\n<td>\n<ul>\n<li>Ordering is peculiar and some                        comparison mechanism is required.                        <\/li>\n<li>Searching is not efficient for                        unevenly distributed data.                        <\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<\/table>\n<p>                <\/p>\n<table summary=\"\" border=\"1\" cellpadding=\"3\" cellspacing=\"0\">\n<caption>                    Hashtable                  <\/caption>\n<tr>\n<th>                      Benefits                    <\/th>\n<th>                      Constraints                    <\/th>\n<\/tr>\n<tr valign=\"top\">\n<td>\n<ul>\n<li>Efficient searching.                        <\/li>\n<li>Good access mechanism.                        <\/li>\n<li>Allows arbitrary growth of                        collection.                        <\/li>\n<\/ul>\n<\/td>\n<td>\n<ul>\n<li>Not good for small data set because                        of overheads.                        <\/li>\n<li>Overhead for storing keys for the                        values in collection.                        <\/li>\n<li>Overhead of hashing scheme.                        <\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<\/table>\n<p>                     <\/p>\n<p> From: http:\/\/sitestree.com\/?p=4861<br \/> Categories:Java Short Notes<br \/>Tags:<br \/> Post Data:2007-06-09 22:01:31<\/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>Array Benefits Constraints Data access is fast. Good for ordered data, which is not changed or searched frequently. Inefficient if number of elements grow. Inefficient if an element to be inserted in middle of collection. Provides no special search mechanism. Linked List Benefits Constraints Allows efficient inserts\/delete at any location Allows arbitrary growth of collection. &hellip; <\/p>\n<p><a class=\"more-link btn\" href=\"http:\/\/bangla.sitestree.com\/?p=65946\">Continue reading<\/a><\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1917],"tags":[],"class_list":["post-65946","post","type-post","status-publish","format-standard","hentry","category-fromsitestree-com","item-wrap"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":65824,"url":"http:\/\/bangla.sitestree.com\/?p=65824","url_meta":{"origin":65946,"position":0},"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":[]},{"id":22130,"url":"http:\/\/bangla.sitestree.com\/?p=22130","url_meta":{"origin":65946,"position":1},"title":"SCJP: Topics and Resources : will be continued #SCJP","author":"Sayed","date":"March 10, 2021","format":false,"excerpt":"SCJP topics and related resources are provided. I have skimed through the resources at least one time.Garbage Collection Test area:Given a code example, recognize the point at which an object becomes eligible for garbage collection, determine what is and is not guaranteed by the garbage collection system, and recognize the\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":67482,"url":"http:\/\/bangla.sitestree.com\/?p=67482","url_meta":{"origin":65946,"position":2},"title":"flow contro collection concurrency generics fundamentals #Java","author":"Author-Check- Article-or-Video","date":"July 23, 2021","format":false,"excerpt":"https:\/\/www.youtube.com\/watch?feature=player_embedded&v=0fTDGw1pZK0 From: http:\/\/sitestree.com\/?p=2627 Categories:JavaTags:Java Post Data:2015-10-19 18:00:22 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","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":65854,"url":"http:\/\/bangla.sitestree.com\/?p=65854","url_meta":{"origin":65946,"position":3},"title":"SCJP: More Rules #Java Short Notes #SCJP","author":"Sayed","date":"July 16, 2021","format":false,"excerpt":"java -classpath gFolder\/Game.jar civilization.java: In such command, -classpath will override (replace) CLASSPATH environment variable. java -classpath gFolder\/Game.jar civilization.java: if both gFolder and current directory contain Game.jar then the jar file under gFolder will be used. If you want java compiler to recognize your jar file, either you have to mention\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":22132,"url":"http:\/\/bangla.sitestree.com\/?p=22132","url_meta":{"origin":65946,"position":4},"title":"SCJP: Sun Certified Java Programmer: All that you need to know #SCJP","author":"Sayed","date":"March 10, 2021","format":false,"excerpt":"Introduction to Sun Certified Java Programmer Certification CourseJava : SCJP: Important ResourcesJAVA: Some links: useful for exams like scjp\/scjaSCJP Essential KnowledgeSCJP Practice ExamsSCJP 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\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":22229,"url":"http:\/\/bangla.sitestree.com\/?p=22229","url_meta":{"origin":65946,"position":5},"title":"Java Multimedia #Root #Java","author":"Author-Check- Article-or-Video","date":"March 12, 2021","format":false,"excerpt":"Java MultimediaJava 3D API SpecificationJava Speech API Programmer's GuideJava Media Framework API GuideJava 3D API TutorialProgramming in Java Advanced ImagingJava Sound Programmer Guide From: http:\/\/sitestree.com\/?p=3256 Categories:Root, JavaTags: Post Data:2016-01-22 23:15:22 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\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\/65946","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\/8"}],"replies":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=65946"}],"version-history":[{"count":0,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/65946\/revisions"}],"wp:attachment":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=65946"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=65946"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=65946"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}