-
What do mean by polymorphism, inheritance, encapsulation?
Polymorhism: is a feature of OOPl that at run time depending upon the type of object the appropriate method is called.Inheritance: is a feature of OOPL that represents the "is a" relationship between different objects(classes). Say in real life a manager is a employee. So in OOPL manger class is inherited from the employee class. Encapsulation: is a feature of OOPL that is used to hide the information.
-
-
-
-
-
-
-
-
-
-
-
-
-
Servlet Lifecycle
What is the Lifecycle of a Servlet?
-
How to convert .class to .java?
How to convert or achieve the program from .class file??
-
-
Java supports multiple inheritance
Skill/Topic: InheritanceA) TrueB) False
-
What happens when a thread cannot acquire a lock on an object
If a thread attempts to execute a synchronized method or synchronized statement and isunable to acquire an object's lock, it enters the waiting state until the lock becomesavailable.
-
-
Java Interview Questions
Ans