[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-391108-105":59,"doc-detail-391108-en":131},{"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":124,"head_meta":126,"extra_data":128,"updated_unix":130},105,"en","java-interview-questions-for-freshers","Java Interview Questions For Freshers","","Java Interview Questions For Freshers compiles concise, beginner-focused Q&A on core Java fundamentals. It covers key concepts including Java’s platform independence, the roles of JDK, JRE, and JVM, and how Java bytecode enables execution across systems. The material then introduces object-oriented programming terms such as class, object, encapsulation, inheritance, polymorphism, and abstraction, along with OOP-related constructs like interfaces, abstract classes, constructors, and method overloading/overriding. It also explains Java keywords (super, final, static, this) and exception handling concepts including checked vs unchecked exceptions and try-catch flow.",{"@graph":69,"@context":123},[70,84,106],{"@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":20,"@type":76,"position":81},"https://docshare.wps.com/document/exam/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/java-interview-questions-for-freshers/391108/",{"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/java-interview-questions-for-freshers/391108.png","ImageObject",300,407,{"name":92,"@type":93},"Quinn Holloway","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-09","2026-09-25",true,{"@type":102,"interactionType":103,"userInteractionCount":105},"InteractionCounter",{"@type":104},"ViewAction",14,{"@type":107,"mainEntity":108},"FAQPage",[109,115,119],{"name":110,"@type":111,"acceptedAnswer":112},"What is Java and why is it platform-independent?","Question",{"text":113,"@type":114},"Java is a high-level, object-oriented language designed for minimal implementation dependencies. It achieves platform independence by compiling to bytecode, which can run on any system with a JVM.","Answer",{"name":116,"@type":111,"acceptedAnswer":117},"What is the difference between JDK, JRE, and JVM?",{"text":118,"@type":114},"JDK is for development and includes JRE plus development tools. JRE is for running Java applications and includes the JVM plus libraries. JVM executes Java bytecode and runs Java programs.",{"name":120,"@type":111,"acceptedAnswer":121},"How do checked and unchecked exceptions differ in Java?",{"text":122,"@type":114},"Checked exceptions are checked at compile-time, while unchecked exceptions are checked at runtime and are subclasses of RuntimeException.","https://schema.org",{"og:url":83,"og:type":125,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":127,"canonical":83},"index,follow",{"doc_id":129,"site_id":62},391108,1790528808,{"code":4,"msg":5,"data":132},{"doc_id":129,"user_id":133,"nickname":92,"user_avatar":134,"doc_module":4,"category_id":19,"category_name":20,"doc_title":65,"doc_description":67,"doc_content":135,"file_id":136,"file_url":137,"file_type":138,"file_size":139,"view_count":105,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":140,"language":141,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":142,"faqs":143,"seo_title":144,"seo_description":67,"update_tm":145,"read_time":146,"preview_page_count":4},2336474466712,"https://ap-avatar.wpscdn.com/davatar_a8503ba1806abce46bf441b54a3ca4cd","50Java Interview Questions For Freshers  \n+91 80099 00785  \n [contact@grotechminds.com](contact@grotechminds.com)  \n [www.grotechminds.com](www.grotechminds.com)  \n1.What is Java?  \nJava is a high-level, object-oriented programming language developed by Sun Microsystems in 1995. It’s designed to have minimal implementation dependencies, making it platformindependent.  \n2. What is the JDK?  \nThe JDK (Java Development Kit) is a software development environment used for developing Java applications. It includes the Java Runtime Environment (JRE), a compiler, and other development tools.  \n3. What is the JRE?  \nThe JRE (Java Runtime Environment) is the runtime portion of Java software, which is all you need to run Java applications but not to develop them  \n4. What is the JVM?  \nThe JVM (Java Virtual Machine) is a platform-independent execution environment that converts Java bytecode into machine language and executes it.  \n5. What is bytecode?  \nBytecode is the intermediate code generated after the Java compiler compiles the source code. It is platform-independent and can be executed by the JVM.  \n+91 80099 00785  \n [contact@grotechminds.com](contact@grotechminds.com)  \n [www.grotechminds.com](www.grotechminds.com)  \n6. What is the difference between JDK, JRE, and JVM?  \n JDK: For development (contains JRE + tools for development).  \n JRE: For running Java applications (contains JVM + libraries).  \n JVM: For executing bytecode (runs Java programs).  \n7. Is Java platform-independent? Why?  \nYes, Java is platform-independent because of its bytecode that can run on any system that has a JVM, regardless of the underlying architecture.  \n8. What is the main feature of the Java language?  \nThe primary feature of Java is platform independence, achieved through the use of the JVM.  \n9. What is object-oriented programming (OOP)?  \nOOP is a programming paradigm that relies on the concept of classes and objects. Key principles of OOP include encapsulation, inheritance, polymorphism, and abstraction.  \n10. What is a class in Java?  \nA class in Java is a blueprint from which objects are created. It can contain fields (attributes) and methods (functions) to define the behavior and state of objects.  \n11. What is an object in Java?  \nAn object is an instance of a class. It is a real-world entity that  \nholds state and behavior defined by its class  \n+91 80099 00785  \n [contact@grotechminds.com](contact@grotechminds.com)  \n [www.grotechminds.com](www.grotechminds.com)  \n12. What is encapsulation?  \nEncapsulation is the wrapping of data (fields) and code (methods) into a single unit, known as a class, and restricting direct access to some components.  \n13. What is inheritance?  \nInheritance is a mechanism where one class acquires the properties (fields and methods) of another class. It helps in code reusability.  \n14. What is polymorphism?  \nPolymorphism is the ability of a method to perform different functions based on the object that it is acting upon. It allows one interface to be used for a general class of actions.  \n15. What is abstraction?  \nAbstraction is the concept of hiding the internal implementation of a feature and only exposing the functionality to the user.  \n16. What is the difference between an interface and an abstract class?  \n Interface: Can only have abstract methods and final fields (Java 8+ allows default and static methods).  \n Abstract class: Can have both abstract and concrete methods and can hold state.  \n+91 80099 00785  \n [contact@grotechminds.com](contact@grotechminds.com)  \n [www.grotechminds.com](www.grotechminds.com)  \n17. What is a constructor in Java?  \nA constructor is a special method used to initialize objects. It is invoked when an object of a class is created.  \n18. What is the default constructor?  \nA default constructor is a constructor provided by Java if no other constructors are defined in the class. It has no parameters.  \n19. What is method overloading?  \nMethod overloading is when a class has more ","cbCaimkCbreVSHc4","https://ap.wps.com/l/cbCaimkCbreVSHc4","pdf",3535534,11,"English","# Java Basics\n## JDK, JRE, JVM and Bytecode\n## OOP Concepts in Java\n## Constructors, Methods, and Keywords\n## Exception Handling","[{\"question\":\"What is Java and why is it platform-independent?\",\"answer\":\"Java is a high-level, object-oriented language designed for minimal implementation dependencies. It achieves platform independence by compiling to bytecode, which can run on any system with a JVM.\"},{\"question\":\"What is the difference between JDK, JRE, and JVM?\",\"answer\":\"JDK is for development and includes JRE plus development tools. JRE is for running Java applications and includes the JVM plus libraries. JVM executes Java bytecode and runs Java programs.\"},{\"question\":\"How do checked and unchecked exceptions differ in Java?\",\"answer\":\"Checked exceptions are checked at compile-time, while unchecked exceptions are checked at runtime and are subclasses of RuntimeException.\"}]","Java Interview Questions For Freshers | PDF",1790349238,28]