filmov
tv
Private Constructor in Java When to Use
Показать описание
Short Java Interview Question And Answer ?
1.Describe Garbage Collection in Java ?
Mechanism by which Java reclaims the memory inaccessible by the application.
2. What are the types of Polymorphism in Java ?
Static ( function overloading ) and Run time / overriding( Virtual functions )
"Inheritance"
3. Different ways of using threads ?
Extending Thread class and implementing runnable interface.
"COMPOSITION"
4. Difference between Composition and Inheritence ?
Has a relationship vs Is a relationship.
5. What are Static variables ?
Correspond to class and not objects. All objects share that variable.
Private Constructor in Java When to Use
A Job Portal
Are you looking for a new Job ?
1.Describe Garbage Collection in Java ?
Mechanism by which Java reclaims the memory inaccessible by the application.
2. What are the types of Polymorphism in Java ?
Static ( function overloading ) and Run time / overriding( Virtual functions )
"Inheritance"
3. Different ways of using threads ?
Extending Thread class and implementing runnable interface.
"COMPOSITION"
4. Difference between Composition and Inheritence ?
Has a relationship vs Is a relationship.
5. What are Static variables ?
Correspond to class and not objects. All objects share that variable.
Private Constructor in Java When to Use
A Job Portal
Are you looking for a new Job ?