Describe why Java supports only runtime polymorphism?
Latest Answer: There are two ways:1. new operator2. newInstance() method. (Reflection API) ...
What is scope resolution in C++ and object oriented ?
Latest Answer: #include using namespace std; int amount = 123; // A global variable int main() { int amount = 456; // A local variable cout ...
Latest Answer: In prototype programming we create a prototype based on the client conversation and show it to client and make modification as per its requirement, this process continues till the client get satisfied after that further testing and deployment is done. ...
Latest Answer: The Class is a blueprint which holds the code, but the instance is the real object inside the memory so we can access its properties and methods in the Run-time. ...
Latest Answer: Encapsulation: wraping of data in a single unit.Abstraction: Data hiding ...
What is the difference between Aggregation and Composition?(Asked in Polaris Interview for Java Experienced People, on April 11, in Chennai)
Latest Answer: Aggregation:In aggregation , one object is composed of multiple objects and every object is useless without the relationship. Suppose there is a car object, so car object is useless without the tyre or steering object, and steering object is useless without ...
Explain Component Object Model used in C, C++ and .NET
Latest Answer: The Component Object Model (COM) is a component software architecture that allows applications and systems to be built from components supplied by different software vendors. COM is the underlying architecture that forms the foundation for higher-level ...
Related to multi-threaded applications - what is the race condition?
Latest Answer: Race condition is a situation whereby two theads simultaneously contends for the same object or datastructure. ...


Hey thanks a lot for sharing such a nice and informative interview questions which are very helpful for attending the interview...........
ReplyDeleteBy the way check out my collection of php interview questions from the following link: php interview questions
Hi
ReplyDeleteI read this post two times.
I like it so much, please try to keep posting.
Let me introduce other material that may be good for our community.
Source: Free interview questions
Best regards
Henry