[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-700981-105":59,"doc-detail-700981-en":130,"doc-similar-700981":201},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","introduction-to-java-java-basics","Introduction to Java - Java Basics","","Java is introduced as a high-level, robust, object-oriented, and secure programming language and platform. The notes explain Java’s origin and naming history, define the concept of a platform using JRE and API, and show a simple Java program example. It outlines major types of Java applications—standalone, web, enterprise, and mobile—and surveys Java platforms/editions including Java SE, EE, ME, and JavaFX. Core Java features and object-oriented principles are also covered.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/introduction-to-java-java-basics/700981/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/introduction-to-java-java-basics/700981.png","ImageObject",300,407,{"name":92,"@type":93},"vwvw","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-26","2026-11-12",true,{"@type":102,"interactionType":103,"userInteractionCount":39},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"Who developed Java and why was its name changed from Oak?","Question",{"text":112,"@type":113},"Java was developed by Sun Microsystems in 1995. James Gosling and the team changed the name from Oak to Java because Oak was already a registered company name.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"What makes Java a platform?",{"text":117,"@type":113},"A platform is any hardware or software environment where a program runs. Java is called a platform because it provides a runtime environment (JRE) and an API.",{"name":119,"@type":110,"acceptedAnswer":120},"What are the main types of Java applications covered in these notes?",{"text":121,"@type":113},"The notes classify Java applications into standalone (desktop/window-based), web applications (server-side dynamic pages), enterprise applications (distributed, e.g., banking), and mobile applications (for devices such as Android and Java ME).","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},700981,1794522623,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":39,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":129,"read_time":144,"preview_page_count":145,"preview_urls":146},3985747874149,"https://ap-avatar.wpscdn.com/avatar/3a001161165b4dc3d9e?x-image-process=image/resize,m_fixed,w_180,h_180&k=1790129441039064114","UNIT:1  \n# Introduction to Java\n\nJava is a programming language and a platform.Java is a high level,robust,object-orientedand secure programming language.  \nJava was developed by Sun Microsystems in the year 1995.James Gosling is known as thefatherof Java.Before Java,its name was Oak.Since Oak was already a registered company,soJames Gosling and his team changed the name from Oak to Java.  \nPlatform:Any hardware or software environment in which a program runs,is known as aplatform.Since Java has a runtime environment (JRE)and API,it is called a platform.  \nExample:  \n\n| Simple.java  \u003Cbr>class Simple  \u003Cbr>{  \u003Cbr>public static void main(String args[])  \u003Cbr>{  \u003Cbr>system.out.printn(\"HelloJava\");  \u003Cbr>}  \u003Cbr>}   |\n| --- |\n\nThere are many devices where Java is currently used.Some of them are as follows:  \n1.Desktop Applications such as acrobat reader,media player,antivirus,etc.  \n2.Web Applications such as irctc.co.in,javatpoint.com,etc.  \n3.Enterprise Applications such as banking applications.  \n4.Mobile  \n5.Embedded System  \n6.Smart Card  \n7.Robotics  \n8.Games,etc.  \n# Types of Java Applications\n\nThere are mainly 4 types of applications that can be created using Java programming:  \n## Standalone Application\n\nStandalone applications are also known as desktop applications or window-based applications.These are traditional software that we need to install on every machine.Examples of standaloneapplication are Media player,antivirus,etc.AWT and Swing are used in Java for creatingstandalone applications.  \n# Web Application\n\nAn application that runs on the server side and creates a dynamic page is called a web application.Currently,Servlet,JSP,Struts,Spring,Hibernate,JSF,etc.technologies are used for creating webapplications in Java.  \n## Enterprise Application\n\nAn application that is distributed in nature,such as banking applications,etc.is called anenterprise application.It has advantages like high-level security,load balancing,and clustering.In Java,EJB is used for creating enterprise applications.  \n## Mobile Application\n\nAn application which is created for mobile devices is called a mobile application.Currently,Android and Java ME are used for creating mobile applications.  \n## Java Platforms/Editions\n\nThere are 4 platforms or editions of Java:  \n## Java SE (Java Standard Edition)\n\nIt is a Java programming platform.It includes Java programming APls such as java.lang,java.io,java.net,java.util,java.sql,java.math etc.It includes core topics like OOPs,String,Regex,Exception,Inner classes,Multithreading,I/0 Stream,Networking,AWT,Swing,Reflection,Collection,etc.  \n## Java EE(Java Enterprise Edition)\n\nIt is an enterprise platform that is mainly used to develop web and enterprise applications.It isbuilt on top of the Java SE platform.It includes topics like Servlet,JSP,Web Services,EJB,JPA,etc.  \n## Java ME(Java Micro Edition)\n\nIt is a micro platform that is dedicated to mobile applications.  \n## JavaFX\n\nIt is used to develop rich internet applications.It uses a lightweight user interface API.  \n## Features of Java\n\nThe primary objective of Java programming language creation was to make it portable,simpleand secure programming language.Apart from this,there are also some excellent features whichplay an important role in the popularity of this language.The features of Java are also known as Java buzzwords.  \n1.Simple  \n2.Object-Oriented  \n3.Portable  \n4.Platform independent  \n5.Secured  \n6.Robust  \n7.Architecture neutral  \n8.Interpreted  \n9.High Performance  \n10.Multithreaded  \n11.Distributed  \n12.Dynamic  \nSimple  \nJava is very easy to learn,and its syntaxis simple,clean and easy to understand.According to SunMicrosystem,Java language is a simple programming language because:  \no Java syntax is based on C++(so easier for programmers to learn it after C++).  \no Java has removed many complicated and rarely-used features,for example,explicitpointers,operator overloading,etc.  \no There is no need to remove unreferenced objects because there","cbCainFKtDP0iirl","https://ap.wps.com/l/cbCainFKtDP0iirl","pdf",12208852,122,"English","# Introduction to Java\n## Types of Java Applications\n### Standalone Application\n### Web Application\n### Enterprise Application\n### Mobile Application\n## Java Platforms/Editions\n### Java SE\n### Java EE\n### Java ME\n### JavaFX\n## Features of Java\n## Object-oriented\n## Platform Independent\n## Secured","[{\"question\":\"Who developed Java and why was its name changed from Oak?\",\"answer\":\"Java was developed by Sun Microsystems in 1995. James Gosling and the team changed the name from Oak to Java because Oak was already a registered company name.\"},{\"question\":\"What makes Java a platform?\",\"answer\":\"A platform is any hardware or software environment where a program runs. Java is called a platform because it provides a runtime environment (JRE) and an API.\"},{\"question\":\"What are the main types of Java applications covered in these notes?\",\"answer\":\"The notes classify Java applications into standalone (desktop/window-based), web applications (server-side dynamic pages), enterprise applications (distributed, e.g., banking), and mobile applications (for devices such as Android and Java ME).\"}]","Introduction to Java - Java Basics | PDF",307,13,[147,151,155,159,163,167,171,175,179,183,187,192,197],{"page_no":8,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/036f834229db65e70e09eb035399c539.webp",983,1390,{"page_no":14,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/a378eaf49b7342d96d0ac2a9493d3221.webp",982,1389,{"page_no":81,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/abaad50a0d57aae5f1752e9dfaae68c5.webp",981,1387,{"page_no":19,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/ae22aff807ecb6517b009d2040b20d98.webp",980,1386,{"page_no":24,"url":164,"width":165,"height":166},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/4f66d98b9ecd344919500d3ca3b13630.webp",979,1385,{"page_no":29,"url":168,"width":169,"height":170},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/03c9c8a4945f65f55c9d42f076082712.webp",978,1383,{"page_no":34,"url":172,"width":173,"height":174},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/d91d27012161dc84ed981cdc817949a9.webp",977,1382,{"page_no":39,"url":176,"width":177,"height":178},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/d64c9d88b387829017e3fe62ce79d9fd.webp",976,1380,{"page_no":44,"url":180,"width":181,"height":182},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/f2643a786b4efd5fa5e57d497f634805.webp",975,1379,{"page_no":52,"url":184,"width":185,"height":186},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/c905e33df2d872600dc6c6886bdebe9a.webp",974,1378,{"page_no":188,"url":189,"width":190,"height":191},11,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/24f4fe71408be9c9dafdc537f1b9d722.webp",973,1376,{"page_no":193,"url":194,"width":195,"height":196},12,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/911360840d08749504f049c534c8e7ce.webp",972,1375,{"page_no":145,"url":198,"width":199,"height":200},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/e1ce2b861b578c3a312b629c25cefe2b.webp",971,1373,{"list":202,"token":66},[203,209,216,222,228,234,241,247,253,259],{"doc_id":204,"doc_title":205,"file_type":137,"home_preview_img_url":206,"slug":207,"view_count":41,"category_name":30,"create_tm":208},347083,"Java - The Complete Reference - Eleventh Edition","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229911269062/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111219&Signature=Icpr3o3zRyKBHaBdgSluuaW7QcE%3D","java-the-complete-reference-eleventh-edition",1790065183,{"doc_id":210,"doc_title":211,"file_type":137,"home_preview_img_url":212,"slug":213,"view_count":214,"category_name":30,"create_tm":215},347821,"JAVA - A Beginner’s Guide to Learning the Basics of Java Programming","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229911558006/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111219&Signature=qMw%2BR7lw5qG6vAxhEQnmTHAVTIs%3D","java-a-beginners-guide-to-learning-the-basics-of-java-programming",15,1790069246,{"doc_id":217,"doc_title":218,"file_type":137,"home_preview_img_url":219,"slug":220,"view_count":214,"category_name":30,"create_tm":221},718169,"Core-java-material","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230018614171/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111219&Signature=ZaFVdig%2BbEp6VayYU8ZL4WEr2zE%3D","core-java-material",1794855126,{"doc_id":223,"doc_title":224,"file_type":137,"home_preview_img_url":225,"slug":226,"view_count":46,"category_name":30,"create_tm":227},347081,"Java - Programming - Ninth Edition","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229910997878/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111219&Signature=xd1Zjvtf8mEGEIXsow5SdEwTCa4%3D","java-programming-ninth-edition",1790065180,{"doc_id":229,"doc_title":230,"file_type":137,"home_preview_img_url":231,"slug":232,"view_count":19,"category_name":30,"create_tm":233},700984,"Java EE - Chapter 4 - Introduction to Enterprise Systems","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230011575664/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111219&Signature=RzhPHm%2B%2FtPAW7bsSz%2BXteyiP0Z0%3D","java-ee-chapter-4-introduction-to-enterprise-systems",1794522626,{"doc_id":235,"doc_title":236,"file_type":137,"home_preview_img_url":237,"slug":238,"view_count":239,"category_name":30,"create_tm":240},347075,"Absolute Java - Preface - Sixth Edition","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229911268843/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111219&Signature=rCFfZyfMQ0mGHAqVQQ6pV%2FcWnMY%3D","absolute-java-preface-sixth-edition",57,1790065166,{"doc_id":242,"doc_title":243,"file_type":137,"home_preview_img_url":244,"slug":245,"view_count":19,"category_name":30,"create_tm":246},701169,"A Guide to Migrating Enterprise Applications to Spring","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230012052261/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111219&Signature=DcDuNk%2F34%2Bh1YifB95AW7ZvQeek%3D","a-guide-to-migrating-enterprise-applications-to-spring",1794523899,{"doc_id":248,"doc_title":249,"file_type":137,"home_preview_img_url":250,"slug":251,"view_count":81,"category_name":30,"create_tm":252},718166,"Interview Questions to Ask a Senior Software Engineer - Java - Role-Based and Situational Questions","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230019204720/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111219&Signature=l89WG7Qpqqk0OvXJ45UZ0djeNuI%3D","interview-questions-to-ask-a-senior-software-engineer-java-role-based-and-situational-questions",1794855122,{"doc_id":254,"doc_title":255,"file_type":137,"home_preview_img_url":256,"slug":257,"view_count":34,"category_name":30,"create_tm":258},700982,"Java Scripting Programmer's Guide - Release 11","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230011575643/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111219&Signature=ou%2FesyMPdbiX1a8Ad6hL06RVez8%3D","java-scripting-programmers-guide-release-11",1794522624,{"doc_id":260,"doc_title":261,"file_type":137,"home_preview_img_url":262,"slug":263,"view_count":264,"category_name":30,"create_tm":265},347076,"Core Java - Volume 1 - Twelfth Edition","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229910997667/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111219&Signature=yFytsQj1SYJjMWhSUp1IFPUYc7o%3D","core-java-volume-1-twelfth-edition",31,1790065168]