{"id":13386,"date":"2020-07-22T13:40:31","date_gmt":"2020-07-22T20:40:31","guid":{"rendered":"https:\/\/careerkarma.com\/blog\/?p=13386"},"modified":"2023-12-01T03:55:55","modified_gmt":"2023-12-01T11:55:55","slug":"java-initialize-array","status":"publish","type":"post","link":"https:\/\/careerkarma.com\/blog\/java-initialize-array\/","title":{"rendered":"Java Initialize Array: A Step-By-Step Guide"},"content":{"rendered":"\n<p><em>To initialize an array in Java, assign data in an array format to the new or empty array. Initializing an array in Java involves assigning values to a new array. Java arrays can be initialized during or after declaration.<\/em><\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p>In Java, arrays are used to store data of one single type. For instance, an array could store a list of the names of every employee that works with a company, or a list of bagel flavors sold at a local bakery.<\/p>\n\n\n\n<p>Before you can start working with the array data type in Java, you first need to declare and initialize an array. In other words, you need to tell the program to create an array, and then add data to that array.<\/p>\n\n\n\n<p>In this tutorial, we\u2019ll discuss how to declare and initialize an array in Java. We\u2019ll also walk through a few examples of initializing arrays.<br><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Java Declare Array<\/h2>\n\n\n\n<p>Declaring an array is the process of telling a program that an array should exist. Before you can initialize an array and assign it values, you need to declare an array.<br><\/p>\n\n\n\n<p>Here\u2019s the syntax you should use to declare an array in Java:<br><\/p>\n\n\n\n<p><code>dataType[] nameOfArray;<br><\/code><\/p>\n\n\n\n<p>The syntax for declaring a Java array consists of the following components:<br><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>dataType<\/strong> is the type of data the array\u2019s values will store.<\/li><li><strong>[]<\/strong> indicates you are declaring an array.<\/li><li><strong>arrayName<\/strong> is the name of your new array.<\/li><\/ul>\n\n\n\n<p>So, suppose we want to declare an array called <code>bagels<\/code> that stores a list of the bagel flavors sold at a local bakery. This array would contain string values. Here\u2019s the code we would use to declare our array:<br><\/p>\n\n\n\n<p><code>String[] bagelFlavors;<br><\/code><\/p>\n\n\n\n<p>In this example, we have declared an array called <code>bagelFlavors<\/code> which can hold <code>String<\/code> values.<br><\/p>\n\n\n\n<p>When you\u2019re declaring an array, you may also want to define how many values the array can hold. Suppose we wanted our <code>bagelFlavors<\/code> array to contain ten values. We could instruct our program to make room for ten values in our <code>bagelFlavors<\/code> array using this code:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>String[] bagelFlavors;\nbagelFlavors = new String[10];\n<\/pre><\/div>\n\n\n\n<p>On the first line, we declare our array. Then we use the n<code>ew String[10]<\/code> syntax to tell our program that our array should hold ten elements. It\u2019s important to note that once the array\u2019s length has been defined, it cannot be changed.<br><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Java Initialize Array<\/h2>\n\n\n\n<p>Initializing an array refers to the process of assigning values to an array. For instance, initializing an array of books would involve adding books to your array. Declaring an array, on the other hand, is where you tell a program that an array should exist.<br><\/p>\n\n\n\n<p>There are two ways to initialize an array in Java: during declaration or after declaration.<br><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Initialize During Declaration<\/h3>\n\n\n\n<p>In the previous examples, we demonstrated how to declare an array in Java without initializing its values. However, we can also create and initialize our array while declaring it. This is common if you already know the values you want to store in your array at the time of declaring the array.  <br><\/p>\n\n\n\n<p>Suppose we want to declare an array called <code>bagelFlavors<\/code> and initialize it with five values. Here\u2019s the code we would use to accomplish this task:<br><\/p>\n\n\n\n<p><code>String[] bagelFlavors = {\u201cPlain\u201d, \u201cPumpernickel\u201d, \u201cCinnamon-Raisin\u201d, \u201cSesame\u201d, \u201cEgg\u201d};<br><\/code><\/p>\n\n\n\n<p>In this example, we have declared an array called <code>bagelFlavors<\/code> and initialized the array with five values.<br><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Initialize After Declaration<\/h3>\n\n\n\n<p>Alternatively, you can initialize an array after declaration. This is common in programs where you know you want to use an array to store a certain set of values but where you have not yet determined what those values should be.<br><\/p>\n\n\n\n<p>Before you use this approach, you first need to declare an array. So, if we wanted to declare an empty array called <code>bagelFlavors<\/code>, we would use the code like we did above:<br><\/p>\n\n\n\n<p><code>String[] bagelFlavors;<br><\/code><\/p>\n\n\n\n<p>Now we have declared our array, we can initialize its values. We can do so by assigning the values we want our array to have to the <code>bagelFlavors<\/code> variable, just like we would when assigning any value to a variable. Here\u2019s the code we would use:<br><\/p>\n\n\n\n<p><code>bagelFlavors = new String[] {\u201cPlain\u201d, \u201cPumpernickel\u201d, \u201cCinnamon-Raisin\u201d, \u201cSesame\u201d, \u201cEgg\u201d};<br><\/code><\/p>\n\n\n\n<p>In the code above, we initialize our variable <code>bagelFlavors<\/code> with five values.<br><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Accessing Array Elements<\/h2>\n\n\n\n<p>So far, we have declared an array of bagel flavors and initialized it with some values. Now that we have our arrays ready, we can start accessing the elements in our array.<br><\/p>\n\n\n\n<p>In Java, items in an array are assigned index values starting from 0 and going up through the length of our array, or the number of elements in our array. These index numbers are used to access an individual item in an array. Here are the index number assigned to our <code>bagelFlavors<\/code> array from earlier: <\/p>\n\n\n\n<table class=\"wp-block-table course-info-table\"><tbody><tr><td>Plain<\/td><td>Pumpernickel<\/td><td>Cinnamon-Raisin<\/td><td>Sesame<\/td><td>Egg<\/td><\/tr><tr><td>0<\/td><td>1<\/td><td>2<\/td><td>3<\/td><td>4<\/td><\/tr><\/tbody><\/table>\n\n\n\n<p>Suppose we wanted to retrieve the item at the index value 1 in our array. We could do so using this code:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>class RetrieveBagel {\n\tpublic static void main(String[] args) {\n\t\tString[] bagelFlavors = {&quot;Plain&quot;, &quot;Pumpernickel&quot;, &quot;Cinnamon-Raisin&quot;, &quot;Sesame&quot;, &quot;Egg&quot;};\n\n\t\tSystem.out.println(bagelFlavors[1]);\n\t}\n}\n<\/pre><\/div>\n\n\n\n<p>In our code, we define a class called <code>RetrieveBagel<\/code>, which stores our code for the program. Then we declare and initialize an array called <code>bagelFlavors<\/code> which stores the list of bagel flavors sold at our local bakery. Then we print out the value with the index number 1 in the <code>bagelFlavors<\/code> array.<br><\/p>\n\n\n\n<p>Our code returns the item at the index value 1, which is as follows:<br><\/p>\n\n\n\n<p><code>Pumpernickel<\/code><\/p>\n\n\n\n<p>In the same way, we could access the element at index 0 to get \u2018Plain,\u2019 or the element at index 3 and get \u2018Sesame.\u2019 <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>In Java, there are two ways to initialize an array: during declaration and after declaration. Typically, you declare and initialize an array at the same time if you know the values you want your array to contain at the time of declaration; otherwise, you initialize an array after declaration.<br><\/p>\n\n\n\n<p>This tutorial discussed how to declare and initialize an array in Java, with reference to examples. In addition, this tutorial explored how to access individual items from a Java array.<br><\/p>\n\n\n\n<p>Now you have the skills you need to initialize Java arrays like an expert!<\/p>\n","protected":false},"excerpt":{"rendered":"To initialize an array in Java, assign data in an array format to the new or empty array. Initializing an array in Java involves assigning values to a new array. Java arrays can be initialized during or after declaration. In Java, arrays are used to store data of one single type. For instance, an array&hellip;","protected":false},"author":240,"featured_media":13388,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[17289],"tags":[],"class_list":{"0":"post-13386","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-java"},"acf":{"post_sub_title":"","sprint_id":"","query_class":"Java","school_sft":"","parent_sft":"","school_privacy_policy":"","has_review":null,"is_sponser_post":"","is_guest_post":""},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.0 (Yoast SEO v27.0) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Java Initialize Array: A Step-By-Step Guide | Career Karma<\/title>\n<meta name=\"description\" content=\"Initializing an array refers to assigning values to a new array. Learn about two methods used to initialize an array in Java on Career Karma.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/careerkarma.com\/blog\/java-initialize-array\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Java Initialize Array: A Step-By-Step Guide\" \/>\n<meta property=\"og:description\" content=\"Initializing an array refers to assigning values to a new array. Learn about two methods used to initialize an array in Java on Career Karma.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/careerkarma.com\/blog\/java-initialize-array\/\" \/>\n<meta property=\"og:site_name\" content=\"Career Karma\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/facebook.com\/careerkarmaapp\" \/>\n<meta property=\"article:published_time\" content=\"2020-07-22T20:40:31+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-01T11:55:55+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/03\/four-woman-at-the-conference-room-1181421.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1000\" \/>\n\t<meta property=\"og:image:height\" content=\"668\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"James Gallagher\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@career_karma\" \/>\n<meta name=\"twitter:site\" content=\"@career_karma\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"James Gallagher\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/careerkarma.com\/blog\/java-initialize-array\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/java-initialize-array\/\"},\"author\":{\"name\":\"James Gallagher\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94\"},\"headline\":\"Java Initialize Array: A Step-By-Step Guide\",\"datePublished\":\"2020-07-22T20:40:31+00:00\",\"dateModified\":\"2023-12-01T11:55:55+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/java-initialize-array\/\"},\"wordCount\":961,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/java-initialize-array\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/03\/four-woman-at-the-conference-room-1181421.jpg\",\"articleSection\":[\"Java\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/careerkarma.com\/blog\/java-initialize-array\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/careerkarma.com\/blog\/java-initialize-array\/\",\"url\":\"https:\/\/careerkarma.com\/blog\/java-initialize-array\/\",\"name\":\"Java Initialize Array: A Step-By-Step Guide | Career Karma\",\"isPartOf\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/java-initialize-array\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/java-initialize-array\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/03\/four-woman-at-the-conference-room-1181421.jpg\",\"datePublished\":\"2020-07-22T20:40:31+00:00\",\"dateModified\":\"2023-12-01T11:55:55+00:00\",\"author\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94\"},\"description\":\"Initializing an array refers to assigning values to a new array. Learn about two methods used to initialize an array in Java on Career Karma.\",\"breadcrumb\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/java-initialize-array\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/careerkarma.com\/blog\/java-initialize-array\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/careerkarma.com\/blog\/java-initialize-array\/#primaryimage\",\"url\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/03\/four-woman-at-the-conference-room-1181421.jpg\",\"contentUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/03\/four-woman-at-the-conference-room-1181421.jpg\",\"width\":1000,\"height\":668,\"caption\":\"A group of four women discussing business solutions.\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/careerkarma.com\/blog\/java-initialize-array\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog\",\"item\":\"https:\/\/careerkarma.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Java\",\"item\":\"https:\/\/careerkarma.com\/blog\/java\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Java Initialize Array: A Step-By-Step Guide\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#website\",\"url\":\"https:\/\/careerkarma.com\/blog\/\",\"name\":\"Career Karma\",\"description\":\"Latest Coding Bootcamp News &amp; Career Hacks from Industry Insiders\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/careerkarma.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94\",\"name\":\"James Gallagher\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg\",\"contentUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg\",\"caption\":\"James Gallagher\"},\"description\":\"James Gallagher is a self-taught programmer and the technical content manager at Career Karma. He has experience in range of programming languages and extensive expertise in Python, HTML, CSS, and JavaScript. James has written hundreds of programming tutorials, and he frequently contributes to publications like Codecademy, Treehouse, Repl.it, Afrotech, and others.\",\"url\":\"https:\/\/careerkarma.com\/blog\/author\/jamesgallagher\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Java Initialize Array: A Step-By-Step Guide | Career Karma","description":"Initializing an array refers to assigning values to a new array. Learn about two methods used to initialize an array in Java on Career Karma.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/careerkarma.com\/blog\/java-initialize-array\/","og_locale":"en_US","og_type":"article","og_title":"Java Initialize Array: A Step-By-Step Guide","og_description":"Initializing an array refers to assigning values to a new array. Learn about two methods used to initialize an array in Java on Career Karma.","og_url":"https:\/\/careerkarma.com\/blog\/java-initialize-array\/","og_site_name":"Career Karma","article_publisher":"http:\/\/facebook.com\/careerkarmaapp","article_published_time":"2020-07-22T20:40:31+00:00","article_modified_time":"2023-12-01T11:55:55+00:00","og_image":[{"width":1000,"height":668,"url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/03\/four-woman-at-the-conference-room-1181421.jpg","type":"image\/jpeg"}],"author":"James Gallagher","twitter_card":"summary_large_image","twitter_creator":"@career_karma","twitter_site":"@career_karma","twitter_misc":{"Written by":"James Gallagher","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/careerkarma.com\/blog\/java-initialize-array\/#article","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/java-initialize-array\/"},"author":{"name":"James Gallagher","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"headline":"Java Initialize Array: A Step-By-Step Guide","datePublished":"2020-07-22T20:40:31+00:00","dateModified":"2023-12-01T11:55:55+00:00","mainEntityOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/java-initialize-array\/"},"wordCount":961,"commentCount":0,"image":{"@id":"https:\/\/careerkarma.com\/blog\/java-initialize-array\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/03\/four-woman-at-the-conference-room-1181421.jpg","articleSection":["Java"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/careerkarma.com\/blog\/java-initialize-array\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/careerkarma.com\/blog\/java-initialize-array\/","url":"https:\/\/careerkarma.com\/blog\/java-initialize-array\/","name":"Java Initialize Array: A Step-By-Step Guide | Career Karma","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/java-initialize-array\/#primaryimage"},"image":{"@id":"https:\/\/careerkarma.com\/blog\/java-initialize-array\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/03\/four-woman-at-the-conference-room-1181421.jpg","datePublished":"2020-07-22T20:40:31+00:00","dateModified":"2023-12-01T11:55:55+00:00","author":{"@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"description":"Initializing an array refers to assigning values to a new array. Learn about two methods used to initialize an array in Java on Career Karma.","breadcrumb":{"@id":"https:\/\/careerkarma.com\/blog\/java-initialize-array\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/careerkarma.com\/blog\/java-initialize-array\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/java-initialize-array\/#primaryimage","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/03\/four-woman-at-the-conference-room-1181421.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/03\/four-woman-at-the-conference-room-1181421.jpg","width":1000,"height":668,"caption":"A group of four women discussing business solutions."},{"@type":"BreadcrumbList","@id":"https:\/\/careerkarma.com\/blog\/java-initialize-array\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog","item":"https:\/\/careerkarma.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Java","item":"https:\/\/careerkarma.com\/blog\/java\/"},{"@type":"ListItem","position":3,"name":"Java Initialize Array: A Step-By-Step Guide"}]},{"@type":"WebSite","@id":"https:\/\/careerkarma.com\/blog\/#website","url":"https:\/\/careerkarma.com\/blog\/","name":"Career Karma","description":"Latest Coding Bootcamp News &amp; Career Hacks from Industry Insiders","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/careerkarma.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94","name":"James Gallagher","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg","caption":"James Gallagher"},"description":"James Gallagher is a self-taught programmer and the technical content manager at Career Karma. He has experience in range of programming languages and extensive expertise in Python, HTML, CSS, and JavaScript. James has written hundreds of programming tutorials, and he frequently contributes to publications like Codecademy, Treehouse, Repl.it, Afrotech, and others.","url":"https:\/\/careerkarma.com\/blog\/author\/jamesgallagher\/"}]}},"_links":{"self":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/13386","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/users\/240"}],"replies":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/comments?post=13386"}],"version-history":[{"count":0,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/13386\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media\/13388"}],"wp:attachment":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media?parent=13386"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/categories?post=13386"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/tags?post=13386"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}