WHAT IS THE DIFFERENCE BETWEEN ABSTRUCTION AND
ENCAPSULATION?
PLEASE EXPLAIN IT.
Answer Posted / narender_niit
abstraction:
abstraction means providing the relevant information only
and hiding other information..
encapsulation:
encapsulation means capsuling of data in the class..in
encapsulation the data members are declared in a class.and
we u want to use that variables only the copy of the
variables goes there which we use in other public
classes.this generates the concept of information hiding.
encapsulation also provide scurity to the data variables
Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
Is enum a class?
What is the difference between procedural programming and oops?
What is the full form of oops?
What are the 5 oop principles?
What is encapsulation in ict?
Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box
What are two types of polymorphism?
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
What is oops and its features?
What is oops and why we use oops?
What do you mean by abstraction?
What is the difference between abstraction and polymorphism?
Please send ford technologies placement paper 2 my mail id
What is the real life example of polymorphism?
Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)