OOPS and Core Java Interview Question and Answers
17. | What is the impact of private constructor? |
---|---|
Private constructors prevent a class from being explicitly instantiated by callers. | |
18. | What is Pass by Value and Pass by Reference? |
---|---|
|
|
19. | Distinguish between process based multitasking and thread based multitasking? |
---|---|
|
|
20. | What is Recursion? |
---|---|
|
|