<br />
<b>Warning</b>:  Undefined array key "global_protection_id" in <b>/home/wikitechy/public_html/interview-questions/wp-content/plugins/content-protector/inc/class-ps-rest-handler.php</b> on line <b>51</b><br />
{"id":4243,"date":"2022-05-03T06:22:47","date_gmt":"2022-05-03T06:22:47","guid":{"rendered":"https:\/\/www.wikitechy.com\/interview-questions\/?p=4243"},"modified":"2022-05-03T06:38:22","modified_gmt":"2022-05-03T06:38:22","slug":"what-is-java-programming","status":"publish","type":"post","link":"https:\/\/www.wikitechy.com\/interview-questions\/java\/what-is-java-programming\/","title":{"rendered":"What is Java Programming ?"},"content":{"rendered":"<ul>\n<li style=\"text-align: justify;\">In 1995, Java was developed by<strong> Sun Microsystem.<\/strong><\/li>\n<li style=\"text-align: justify;\">It is a high leveled and widely used programming language.<\/li>\n<li style=\"text-align: justify;\">For many years, Java is one of the most popular programming languages.<\/li>\n<li style=\"text-align: justify;\">It provides support for primitive data types like char, int, etc. because it is not considered as pure object-oriented.<\/li>\n<li style=\"text-align: justify;\">First Java codes are compiled into byte code and then it is runs on a Java Virtual Machine regardless of the underlying architecture.<\/li>\n<li style=\"text-align: justify;\">Java syntax are similar to <a href=\"https:\/\/www.wikitechy.com\/interview-questions\/category\/c\/\">C<\/a> \/ <a href=\"https:\/\/www.wikitechy.com\/interview-questions\/category\/cpp\/\">C++<\/a> .It does not provide low-level programming functionalities like pointers.<\/li>\n<li style=\"text-align: justify;\">Java codes are always written in the form of classes and objects.<\/li>\n<li style=\"text-align: justify;\">It is used in all kinds of applications like web application, mobile application, desktop application, client-server application, enterprise application and many more.<\/li>\n<li style=\"text-align: justify;\">Java does not allow many things which may lead to bad\/inefficient programming if used incorrectly so, only Java codes are generally more maintainable.<\/li>\n<li style=\"text-align: justify;\">The programs are written in Java typically run faster than corresponding Python programs and slower than C++. Like C++, Java does static type checking, but Python does not, when compared with Python.<\/li>\n<\/ul>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone size-full wp-image-4252\" src=\"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/05\/java-programming-1.png\" alt=\"\" width=\"932\" height=\"812\" srcset=\"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/05\/java-programming-1.png 932w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/05\/java-programming-1-300x261.png 300w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/05\/java-programming-1-768x669.png 768w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/05\/java-programming-1-390x340.png 390w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/05\/java-programming-1-820x714.png 820w\" sizes=\"(max-width: 932px) 100vw, 932px\" \/><\/p>\n<h3 id=\"example\">Example<\/h3>\n<div class=\"code-embed-wrapper\"> <div class=\"code-embed-infos\"> <\/div> <pre class=\"language-java code-embed-pre line-numbers\"  data-start=\"1\" data-line-offset=\"0\"><code class=\"language-java code-embed-code\">public class Main {<br\/>  public static void main(String[] args) {<br\/>    System.out.println(&quot;Welcome to Wikitechy&quot;);<br\/>  }<br\/>}<\/code><\/pre> <\/div>\n<h3 id=\"output\">Output<\/h3>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-4244\" src=\"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/05\/java-program.png\" alt=\"\" width=\"1284\" height=\"555\" srcset=\"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/05\/java-program.png 1284w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/05\/java-program-300x130.png 300w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/05\/java-program-1024x443.png 1024w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/05\/java-program-768x332.png 768w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/05\/java-program-390x169.png 390w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/05\/java-program-820x354.png 820w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/05\/java-program-1180x510.png 1180w\" sizes=\"(max-width: 1284px) 100vw, 1284px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In 1995, Java was developed by Sun Microsystem. It is a high leveled and widely used programming language. For many years, Java is one of the most popular programming languages. It provides support for primitive data types like char, int, etc. because it is not considered as pure object-oriented. First Java codes are compiled into [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"passster_activate_protection":false,"passster_protect_child_pages":"","passster_protection_type":"password","passster_password":"","passster_activate_overwrite_defaults":"","passster_headline":"","passster_instruction":"","passster_placeholder":"","passster_button":"","passster_id":"","passster_activate_misc_settings":"","passster_redirect_url":"","passster_hide":"no","passster_area_shortcode":"","gtb_hide_title":false,"gtb_wrap_title":false,"gtb_class_title":"","gtb_remove_headerfooter":false,"footnotes":""},"categories":[4004],"tags":[17246,17225,17234,17232,17238,17237,17233,17235,17239,17242,17244,17245,17243,17241,17240,17236],"class_list":["post-4243","post","type-post","status-publish","format-standard","hentry","category-java","tag-define-what-is-java-programming-language","tag-features-of-java","tag-introduction-to-java","tag-java","tag-java-programming-for-beginners","tag-java-programming-language","tag-learn-java-programming","tag-what-is-java","tag-what-is-java-programming","tag-what-is-java-programming-definition","tag-what-is-java-programming-environment","tag-what-is-java-programming-examples","tag-what-is-java-programming-for-beginners","tag-what-is-java-programming-language","tag-what-is-java-programming-used-for","tag-what-is-java-technology"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>What is JAVA ? - Introduction to Java - Java Programming Language<\/title>\n<meta name=\"description\" content=\"What is JAVA - In 1995, Java was developed by Sun Microsystem.It is a high leveled and widely used programming language.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wikitechy.com\/interview-questions\/java\/what-is-java-programming\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What is JAVA ? - Introduction to Java - Java Programming Language\" \/>\n<meta property=\"og:description\" content=\"What is JAVA - In 1995, Java was developed by Sun Microsystem.It is a high leveled and widely used programming language.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wikitechy.com\/interview-questions\/java\/what-is-java-programming\/\" \/>\n<meta property=\"og:site_name\" content=\"Wikitechy\" \/>\n<meta property=\"article:published_time\" content=\"2022-05-03T06:22:47+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-05-03T06:38:22+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/05\/java-programming-1.png\" \/>\n<meta name=\"author\" content=\"webmaster\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"webmaster\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/java\/what-is-java-programming\/\",\"url\":\"https:\/\/www.wikitechy.com\/interview-questions\/java\/what-is-java-programming\/\",\"name\":\"What is JAVA ? - Introduction to Java - Java Programming Language\",\"isPartOf\":{\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/java\/what-is-java-programming\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/java\/what-is-java-programming\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/05\/java-programming-1.png\",\"datePublished\":\"2022-05-03T06:22:47+00:00\",\"dateModified\":\"2022-05-03T06:38:22+00:00\",\"author\":{\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/f785ba3ecc599133e65ab6138042a3e4\"},\"description\":\"What is JAVA - In 1995, Java was developed by Sun Microsystem.It is a high leveled and widely used programming language.\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wikitechy.com\/interview-questions\/java\/what-is-java-programming\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/java\/what-is-java-programming\/#primaryimage\",\"url\":\"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/05\/java-programming-1.png\",\"contentUrl\":\"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/05\/java-programming-1.png\",\"width\":932,\"height\":812},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#website\",\"url\":\"https:\/\/www.wikitechy.com\/interview-questions\/\",\"name\":\"Wikitechy\",\"description\":\"Interview Questions\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wikitechy.com\/interview-questions\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/f785ba3ecc599133e65ab6138042a3e4\",\"name\":\"webmaster\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/155b77fd8cdda3d0913fcb7e7ee63543b0c345d2d8f6dcebda5b0583ab61f967?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/155b77fd8cdda3d0913fcb7e7ee63543b0c345d2d8f6dcebda5b0583ab61f967?s=96&d=mm&r=g\",\"caption\":\"webmaster\"},\"sameAs\":[\"https:\/\/www.wikitechy.com\/interview-questions\"],\"url\":\"https:\/\/www.wikitechy.com\/interview-questions\/author\/webmaster\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What is JAVA ? - Introduction to Java - Java Programming Language","description":"What is JAVA - In 1995, Java was developed by Sun Microsystem.It is a high leveled and widely used programming language.","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:\/\/www.wikitechy.com\/interview-questions\/java\/what-is-java-programming\/","og_locale":"en_US","og_type":"article","og_title":"What is JAVA ? - Introduction to Java - Java Programming Language","og_description":"What is JAVA - In 1995, Java was developed by Sun Microsystem.It is a high leveled and widely used programming language.","og_url":"https:\/\/www.wikitechy.com\/interview-questions\/java\/what-is-java-programming\/","og_site_name":"Wikitechy","article_published_time":"2022-05-03T06:22:47+00:00","article_modified_time":"2022-05-03T06:38:22+00:00","og_image":[{"url":"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/05\/java-programming-1.png"}],"author":"webmaster","twitter_card":"summary_large_image","twitter_misc":{"Written by":"webmaster","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wikitechy.com\/interview-questions\/java\/what-is-java-programming\/","url":"https:\/\/www.wikitechy.com\/interview-questions\/java\/what-is-java-programming\/","name":"What is JAVA ? - Introduction to Java - Java Programming Language","isPartOf":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/java\/what-is-java-programming\/#primaryimage"},"image":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/java\/what-is-java-programming\/#primaryimage"},"thumbnailUrl":"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/05\/java-programming-1.png","datePublished":"2022-05-03T06:22:47+00:00","dateModified":"2022-05-03T06:38:22+00:00","author":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/f785ba3ecc599133e65ab6138042a3e4"},"description":"What is JAVA - In 1995, Java was developed by Sun Microsystem.It is a high leveled and widely used programming language.","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wikitechy.com\/interview-questions\/java\/what-is-java-programming\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wikitechy.com\/interview-questions\/java\/what-is-java-programming\/#primaryimage","url":"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/05\/java-programming-1.png","contentUrl":"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/05\/java-programming-1.png","width":932,"height":812},{"@type":"WebSite","@id":"https:\/\/www.wikitechy.com\/interview-questions\/#website","url":"https:\/\/www.wikitechy.com\/interview-questions\/","name":"Wikitechy","description":"Interview Questions","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wikitechy.com\/interview-questions\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/f785ba3ecc599133e65ab6138042a3e4","name":"webmaster","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/155b77fd8cdda3d0913fcb7e7ee63543b0c345d2d8f6dcebda5b0583ab61f967?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/155b77fd8cdda3d0913fcb7e7ee63543b0c345d2d8f6dcebda5b0583ab61f967?s=96&d=mm&r=g","caption":"webmaster"},"sameAs":["https:\/\/www.wikitechy.com\/interview-questions"],"url":"https:\/\/www.wikitechy.com\/interview-questions\/author\/webmaster\/"}]}},"_links":{"self":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts\/4243","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/comments?post=4243"}],"version-history":[{"count":3,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts\/4243\/revisions"}],"predecessor-version":[{"id":4253,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts\/4243\/revisions\/4253"}],"wp:attachment":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/media?parent=4243"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/categories?post=4243"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/tags?post=4243"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}