{"id":624,"date":"2018-08-07T10:50:24","date_gmt":"2018-08-07T10:50:24","guid":{"rendered":"http:\/\/www.codeinsightacademy.com\/blog\/?page_id=624"},"modified":"2018-10-18T14:11:02","modified_gmt":"2018-10-18T14:11:02","slug":"java","status":"publish","type":"page","link":"https:\/\/codeinsightacademy.com\/blog\/interview-questions\/java\/","title":{"rendered":"Java"},"content":{"rendered":"<p><strong>JAVA<\/strong><\/p>\n<ol>\n<li>What are the ways to create object of class<\/li>\n<li>What are methods of Object class<\/li>\n<li>What is the difference between stack and heap memory<\/li>\n<li>What are the advantages and disadvantages of having 2 heap memory<\/li>\n<li>What is the difference between local and member\/instance variable<\/li>\n<li>What is the difference between concrete method and abstract method and instance method<\/li>\n<li>What is static keyword? Where can we use static member<\/li>\n<li>What are major pillars of OOPS<\/li>\n<li>What is Encapsulation and Abstraction<\/li>\n<li>What is Polymorphism? How do we achieve polymorphism in Java?<\/li>\n<li>What is difference between declaration and initialization<\/li>\n<li>Abstract Class and Interface constructor<\/li>\n<li>Why only String class is final class and immutable not other classes<\/li>\n<li>What is serialization in Java<\/li>\n<li>What is boxing and unboxing<\/li>\n<li>What is upcasting and downcasting<\/li>\n<li>What is Marker interface<\/li>\n<li>What is functional interface<\/li>\n<li>What are the design pattern<\/li>\n<li>Design Pattern: Singleton,\u00a0Factory,\u00a0MVC<\/li>\n<li>What is REST API and SOAP<\/li>\n<li>What is difference between web API and Web Services<\/li>\n<li>What is Exception and its Hierarchy<\/li>\n<li>How to create exception class<\/li>\n<li>What is try catch finally throw throws<\/li>\n<li>Can we handle exception in finally block<\/li>\n<li>What is the difference between runtime and compile time exception<\/li>\n<li>How to handle out of memory exception<\/li>\n<li>What is Collection? What are different types of collections in Java<\/li>\n<li>What is legacy method and legacy classes<\/li>\n<li>Difference between HashMap and HashTree and HashTable<\/li>\n<li>How HashSet internally works<\/li>\n<li>What is Vector Class<\/li>\n<li>What is Comparable and Comparator<\/li>\n<li>Generics in Java<\/li>\n<li>Which collection is good for add and delete records<\/li>\n<li>Which collection is good for fast operations<\/li>\n<li>What is multithreading<\/li>\n<li>How to create thread without start and run method<\/li>\n<li>What is synchronized and volatile modifier<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>JAVA What are the ways to create object of class What are methods of Object class What is the difference between stack and heap memory What are the advantages and disadvantages of having 2 heap memory What is the difference between local and member\/instance variable What is the difference between concrete method and abstract method [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":385,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/pages\/624"}],"collection":[{"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/comments?post=624"}],"version-history":[{"count":4,"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/pages\/624\/revisions"}],"predecessor-version":[{"id":639,"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/pages\/624\/revisions\/639"}],"up":[{"embeddable":true,"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/pages\/385"}],"wp:attachment":[{"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/media?parent=624"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}