What is abstraction with strong example program?
(not a general program)

Answers were Sorted based on User's Feedback



What is abstraction with strong example program? (not a general program)..

Answer / cherry

abstraction means hiding the implementation part of a
particular process.Like we are calling createStatement()
method on Connection object to get the Statement object.It
is also abstraction because that method implementation is
done by jdbc engine developer.

Is This Answer Correct ?    6 Yes 0 No

What is abstraction with strong example program? (not a general program)..

Answer / gaurav (accenture)

Just to tell you guys that abstraction and encapsulation are two different concepts of oops. thats why they've use two terminologies. Common Sense. Right.!

The meaning of abstraction is just the same as it is in English but applying it in coding world. Simply we can say as “what” the method or a module does not “how” it does it. The word abstraction is to distill a complicated system down to its most fundamental parts and describe these parts in a simple, precise language.

Let’s compare Java and C++. We have a good example of abstraction. In C++, you have to deal with pointers and references a lot. You have to deal a lot of garbage collection. In essence, you have to work on a low level. (C and C++ in turn abstracted a lot of even lower level machine code.) In Java, those things are abstracted away. You just assume they exist. In essence, abstraction means that you are working on a higher level. You don’t care how pointers work in Java, you just assume that they work. You don’t have to concentrate on the lower level stuff, you work on higher level.

I hope it covers everything.

Is This Answer Correct ?    2 Yes 0 No

What is abstraction with strong example program? (not a general program)..

Answer / satishkumar vishwakarma

Abstraction means showing only relevent data. means that it
shows only that part of code which is necessory for other
class rather than showing all information. Encapsulation
also does same thing. the whole funda of Abstration and
Encapsulation is Class and Access Specifiers.

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More Core Java Interview Questions

What are implicit objects in java?

0 Answers  


What is multiple inheritance & can we implement it in java?

6 Answers   Satyam,


What is arraylist class in java?

0 Answers  


What are instance variables?

0 Answers  


Is array a class in java?

0 Answers  






What is a protected class in java?

0 Answers  


What is the role of garbage collector in java?

0 Answers  


Difference between == and .equals() ?

0 Answers  


Explain class A{} class B{} class C{} all the three classes are saved in a single file name, what the name should i provide to the file ,in what file name should i run the program? Ple Explain

9 Answers   DNS, Infosys, TCS,


IN java collections we have both interfaces and classes. instead of using interfaces why we can't use classes only like that why we can't use interfaces only. why we need two things interface and class.

6 Answers   Accenture, CTS,


java is pure object-oriented programming language?why it is platform independent.

1 Answers  


Tell some latest versions in JAVA related areas?

0 Answers  


Categories