Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Java-Beginners Oops Definition
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Kethrabalan
Oops Definition
1 Answer(s)      4 years and 11 months ago
Posted in : Java Beginners


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

Regards
M.KethraBalan.

Advertisement
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
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
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
Document Type Definition
Document Type Definition  What is Document Type Definition
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Advertisements
 

 

 

DMCA.com