What are concepts of OOPS and how are they implemented in
Answers were Sorted based on User's Feedback
Answer / tarangini
oops concepts are Encapsulation, inheritance, abstractio
Encapsulation: Buildingup of the data and methods as a
single unit is called encapsulation. It isolates the
members of one class from the members of another class, so
we can declare same variable in both the classes.
best example for encapsulation is: A Class
Inheritance: Producing the new classes from already
existing class is called inheritance. The newly produced
class contains the features of old class and it has its own
the use of inheritance is reusability.
Abstraction: Hiding unnecessary data from the user is
Polymorphism: Poly means many. Morphism means forms.
If same object perfrom different tasks is called
|Is This Answer Correct ?||15 Yes||0 No|
Answer / ravikiran(aptech mumbai)
|Is This Answer Correct ?||2 Yes||1 No|
What is the best way to findout the time/memory consuming process?
where do you place after you did code in java
What is a parent class in java?
What is garbage collection? Can it be forced to run?
Can keyword be used as identifier?
Tell me about your ability to work under pressure
if we give input as " hi how are you" then the output should be "uoy woh"...it should skip odd words in the input and should reverse even words from the end of string...can anyone help me to write this program in java
What is the function of character?
why java is platform independent?
Can an anonymous class be declared as implementing an interface and extending a class?
Explain the difference between scrollbar and scrollpane?
Are strings immutable in java?