Oops Definition

Oops Definition

What is Abstraction and Encapsulation? What is the Difference Between Abstraction and Encapsulation?

Regards
M.KethraBalan.
View Answers

January 7, 2010 at 1:36 PM

Hi Friend,

Abstraction - The process of abstraction in Java is used to hide certain details and only show the essential features of the object. In other words, it deals with the outside view of an object (interface).

Encapsulation - This is an important programming concept that assists in separating an object's state from its behavior. This helps in hiding an object's data describing its state from any further modification by external component. In Java there are four different terms used for hiding data constructs and these are public, private, protected and package. As we know an object can associated with data with predefined classes and in any application an object can know about the data it needs to know about. So any unnecessary data are not required by an object can be hidden by this process. It can also be termed as information hiding that prohibits outsiders in seeing the inside of an object in which abstraction is implemented.

Thanks









Related Tutorials/Questions & Answers:
Oops Definition - Java Beginners
Oops Definition  What is Abstraction and Encapsulation? What is the Difference Between Abstraction and Encapsulation? Regards M.KethraBalan.  Hi Friend, Abstraction - The process of abstraction in Java is used
OOPs
OOPs  What is OOps?  Object oriented programming organizes a program around its data,i.e.,objects and a set of well defined interfaces to that data.An object-oriented program can be characterized as data controlling
Advertisements
oops concepts
oops concepts  What is polymorphism?Explain with an example. What is abstraction?Explain with an example. What is inheritance?Explain with an example. What is encapsulation?Explain with an example
what is oops in java
what is oops in java  what is oops in java
what is oops in java
what is oops in java  what is oops in java
Java & OOPs
Java & OOPs  Is JAVA a fully Object Oriented Language? or A what degree Java supports Fully OOPs concept?   Java is not a fully object oriented language because Java is not a completely object oriented language
oops
oops
ModuleNotFoundError: No module named 'oops'
ModuleNotFoundError: No module named 'oops'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'oops' How to remove the ModuleNotFoundError: No module named 'oops' error
What is oops in php with example?
What is oops in php with example?  Hi, I heard some where that PHP is support OOPS and its new feature is PHP. Every is now using OOPs in PHP. What is oops in php with example? Can anyone give me code example? Thanks
What is OOPs in PHP ?
What is OOPs in PHP ?   Hi, I am a beginner in PHP Programming Application. I have some doubt on What is OOPs in PHP programming. How the OOPs concept helps us in PHP Programming. Please provide me any online reference so that i
Interview Questions - What are the Fundamentals of OOPS?
Interview Questions - What are the Fundamentals of OOPS?  Hi, What are the Fundamentals of OOPS? Thanks   Hi, Java is Object Oriented Programming language and it fully implements OOPs concept. Three pillars of OOPs
ModuleNotFoundError: No module named 'oops_amqp'
ModuleNotFoundError: No module named 'oops_amqp'  Hi, My Python... 'oops_amqp' How to remove the ModuleNotFoundError: No module named 'oops... have to install padas library. You can install oops_amqp python with following
ModuleNotFoundError: No module named 'oops_celery'
ModuleNotFoundError: No module named 'oops_celery'  Hi, My Python... 'oops_celery' How to remove the ModuleNotFoundError: No module named 'oops_celery' error? Thanks   Hi, In your python environment
ModuleNotFoundError: No module named 'oops_dictconfig'
ModuleNotFoundError: No module named 'oops_dictconfig'  Hi, My... named 'oops_dictconfig' How to remove the ModuleNotFoundError: No module named 'oops_dictconfig' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'oops-parser'
ModuleNotFoundError: No module named 'oops-parser'  Hi, My Python... 'oops-parser' How to remove the ModuleNotFoundError: No module named 'oops-parser' error? Thanks   Hi, In your python environment
ModuleNotFoundError: No module named 'oops_timeline'
ModuleNotFoundError: No module named 'oops_timeline'  Hi, My... 'oops_timeline' How to remove the ModuleNotFoundError: No module named 'oops_timeline' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'oops-tools'
ModuleNotFoundError: No module named 'oops-tools'  Hi, My Python... 'oops-tools' How to remove the ModuleNotFoundError: No module named 'oops... have to install padas library. You can install oops-tools python
ModuleNotFoundError: No module named 'oops_twisted'
ModuleNotFoundError: No module named 'oops_twisted'  Hi, My Python... 'oops_twisted' How to remove the ModuleNotFoundError: No module named 'oops_twisted' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'oops_wsgi'
ModuleNotFoundError: No module named 'oops_wsgi'  Hi, My Python... 'oops_wsgi' How to remove the ModuleNotFoundError: No module named 'oops... have to install padas library. You can install oops_wsgi python with following
ModuleNotFoundError: No module named 'definition'
ModuleNotFoundError: No module named 'definition'  Hi, My Python... 'definition' How to remove the ModuleNotFoundError: No module named 'definition' error? Thanks   Hi, In your python environment you
Document Type Definition
Document Type Definition  What is Document Type Definition
What Is OOPS In Java
What Is OOPS In Java In this section we will learn about the basics of Java. Here we will see the concepts of OOPs. We will discuss the basics of OOPs. OOPs, stands for Object Oriented Programming System that specifies a model
oops concepts - Java Interview Questions
oops concepts  what stands for "S" in OOPs ? object oriented programing.....  Hi friend, Object Oriented Programming or OOP is the technique to create programs based on the real world. Unlike procedural programming
ModuleNotFoundError: No module named 'oops_datedir_repo'
ModuleNotFoundError: No module named 'oops_datedir_repo'  Hi, My... named 'oops_datedir_repo' How to remove the ModuleNotFoundError: No module named 'oops_datedir_repo' error? Thanks   Hi, In your
using oops concepts - Development process
using oops concepts   You are required to develop a Hotel Reservation System. The system manages information about rooms, reservations, customers... total source code in corejava using oops concepts.  Hi
using oops concepts - Development process
using oops concepts  i want answer with oops concepts.individual classes with source code and exact out put. You are required to develop a Hotel Reservation System. The system manages information about rooms
OOPs Concept
OOPs Concept      ... the OOPs concepts along with  fundamentals  used to develop the java.... This is a technique used to create programs around the real world entities. In OOPs
Version of nanning>nanning-definition dependency
List of Version of nanning>nanning-definition dependency
OOPs concepts in Java
Object-Oriented Programming (OOPs) concepts in Java helps in creating programs that are based on real world. OOPs is very flexible and compatible and hence... application that are developed on the OOPs concepts at first analyze the program
OOPS Concept Abstraction with example - Java Beginners
OOPS Concept Abstraction with example  I am new to java. In java OOPS concept Abstraction means abstract or something. Please explain it with one example  Hi Friend, The process of abstraction in Java is used
php_oops
Program to read 2 integers using oops concepts
Program to read 2 integers using oops concepts  Write a program to read two integers with the following significance. ? The first integer value represents a time of day on a 24 hour clock, so that 1245 represents quarter
where is the definition of keywords like this, int, void present in Java ? e.g the definition of methods are in API.
where is the definition of keywords like this, int, void present in Java ? e.g the definition of methods are in API.  where is the definition of keywords like this, int, void present in Java ? e.g the definition of methods
Definition of Bioinformatics
Definition of Bioinformatics       About Bioinformatics In February 2001, the human... in the living world (using biochips , for example). The Definition of Bioinformatics
Polymorphism
; OOPs revolve around the four concepts: 1. Encapsulation 2. Polymorphism 3. Abstraction 4. Inheritance In OOPs, these concepts are implemented through a class definition and achieved through the object creation process
ModuleNotFoundError: No module named 'django-definition-tag'
ModuleNotFoundError: No module named 'django-definition-tag'  Hi...: No module named 'django-definition-tag' How to remove the ModuleNotFoundError: No module named 'django-definition-tag' error? Thanks   Hi
Array Definition
Array Definition       This Tutorial illustrates an code example that makes you easy to understand the code in Array Definition. On loading a page, display
Version of com.korwe>kordapt-api-definition dependency
List of Version of com.korwe>kordapt-api-definition dependency
Abbreviation tag html5, Definition of <abbr> tag in html5.
Abbreviation tag html5, Definition of <abbr> tag in html5. In this tutorial, we will discuss about the use of <abbr> tag and how to implement this tag. This tag is used for defining an abbreviation for the articles. It marks
Inheritance
Inheritance        OOPs.... Abstraction 4. Inheritance In OOPs, these concepts are implemented through a class definition and achieved through the object creation process, programmatically. Here
Address tag in HTML5, Definition of address tag in html5.
Address tag in HTML5, Definition of <address> tag in html5. In this section, we will discuss usage of <address> tag and how to implement this. The <address> tag is used for defining the contact information
Maven Dependency nanning-definition >> 0.9
You should include the dependency code given in this page to add Maven Dependency of nanning >> nanning-definition version0.9 in your project
Area Tag in html5, Definition of <area> tag in HTML5.
Area Tag in html5, Definition of  <area> tag in html5 In this section we will discuss the use of <area> tag and about its implementation in the html document. The <area> tag is used for creating an area
Encapsulation
; OOPs revolve around the four concepts: 1. Encapsulation 2. Polymorphism 3. Abstraction 4. Inheritance In OOPs, these concepts are implemented through a class definition and achieved through the object creation process, programmatically
HTML5 bold tag, Definition of bold &lt;b&gt; tag in html5.
HTML5 bold tag, Definition of bold<b> tag in html 5. In this illustration we will discuss use of <b> tag in html5 and its implementation in the html document. The <b> tag is used for setting the words in bold style
Maven Repository/Dependency: nanning | nanning-definition
Maven Repository/Dependency of Group ID nanning and Artifact ID nanning-definition. Latest version of nanning:nanning-definition dependencies. # Version Release Date You can read more
Web 3.0 Definition
Web 3.0 Definition       Web 3.0 Debates over Definition Since the origins of the concept of Web 3.0... a suitable definition might be. As emerging the new technology, a new
class definition
spring3 mvc appliation bean definition not found error
spring3 mvc appliation bean definition not found error  hi I executed spring3 mvc with annotation example after clicking on the register page I got the following error, can you suggest me how to solve. The error message

Ads