why we need this (1.object,2.class,3.data
hiding,4.encapsulation,5.abstraction,6.
polymorphism,7.inheritance)
Answers were Sorted based on User's Feedback
Answer / deepakkumar1887
1. to store specific information
2. to define structural definition of object
3. to provide data security
4. to provide authorized accessing on secure data
5. to perform inquiry about class definition
6. to define in multiple form for different operation under
common name
7. to use property re usability
Is This Answer Correct ? | 17 Yes | 1 No |
Don't Go to learn anything without knowing this.... If u
know this Java is a piece of cake.....
Is This Answer Correct ? | 0 Yes | 6 No |
How does sublist works in java?
What is the basically use of finally while we know it is always executed but why?
what is the difference between statis block and static variable
What is merge sort in java?
What are the drawbacks of singleton class?
Can we rethrow the same exception from catch handler?
Is java a utf 8 string?
where exactly collections are usefull in realtime
When we r go to abstract class and when we go to Interface? i have confusion this question while in interview plz clarify
Why Set interface contains unique elements, what internally implemented for this so that it contains unique elements?
when we write class.forName("any one class"); what happens actually?what it will return?explain stepwise?
What will happen inside init() in servlet. my interviewer asked servlet lifecycle. i said "once servlet is loaded in to memory init() will be called which performs servlet initialization " . Again interview asked what values will be initialized . what is difference between init() and init(ServletConfig config).
2 Answers Infinite Computer Solutions, TCS,