MCQ – Java Polymorphism

ULTIMATE MCQs – Multiple Choice Questions on Porlymorphism in java oops concept with Answer and Explanation to polish your concepts and help in written test in job interviews. MCQs on Polymorphism in Java Q) What concepts come under Polymorphism in java? Method overloading Constructor overloading Method overriding All the above Q) Which polymorphism behavior do … Read more MCQ – Java Polymorphism

MCQ Java Interfaces

Q) Which keyword is used to declare an interface in java? class interface implements abstract Q) A java interface can contain ———— public static Final Variables only public Abstract methods Abstract methods(unimplemented) and implemented methods both public static Final Variables and abstract methods both Q) Which is the correct way to inherit and implement the … Read more MCQ Java Interfaces

MCQ – Java oops concept

Q) Java object oriented programming concepts is/are Encapsulation Inheritance polymorphism All of the above.   Q) Java does not support _______________? Inheritance Multiple inheritance for classes multiple inheritance of interfaces compile time polymorphism Q) Runtime polymorphism feature in java is method overriding method overloading constructor overloading operator overloading Q) Encapsulation concept in java is Hiding … Read more MCQ – Java oops concept

MCQs – Java Inheritance

Q) Which inheritance in java programming is not supported Multiple inheritance using classes Multiple inheritance using interfaces Multilevel inheritance Single inheritance   Q) What is subclass in java? A subclass is a class that extends another class A subclass is a class declared inside a class Both above. None of the above. Q) If class … Read more MCQs – Java Inheritance

MCQ on JVM and Java Memory management

MCQ on JVM and Java Memory Management – Multiple choice questions in Java memory management with answers and explanation. 60% of the objective questions are asked in interviews. But, additional has been added to cover memory concept in Java programming.   Q) Where an object of a class get stored? Heap Stack Disk File   … Read more MCQ on JVM and Java Memory management

MCQ- Java thread

MCQ- Java multithreading multiple choice questions with answers and explanation. 50% of the MCQ on multithreading in java are asked in interviews. But, additional objective questions have been added to cover java thread concept. Q) In java multi-threading, a thread can be created by Extending Thread class Implementing Runnable interface Using both None Q) Which method is … Read more MCQ- Java thread