File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes oops Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "oops" Watch "oops" New topic
Author

oops

sitaram irrinki
Ranch Hand

Joined: Feb 16, 2005
Posts: 158
WHICH IS THE FOLLWING MECHANISAM BY WHICH MORE SPECIFIC ELEMENTS
INCORPORATETHE STRUCTURE& BEHAVIOR OF MORE GENERAL ELEMENTS
A.
1.polymarphisam
2.Abstraction
3.Encapsulation
4.data hiding
Norm Radder
Ranch Hand

Joined: Aug 10, 2005
Posts: 685
?
Nila dhan
Ranch Hand

Joined: Sep 15, 2005
Posts: 160
abstraction
Akshay Kiran
Ranch Hand

Joined: Aug 18, 2005
Posts: 220
Originally posted by sitaram irrinki:
WHICH OF THE FOLLWING MECHANISM BY WHICH MORE SPECIFIC ELEMENTS
INCORPORATE THE STRUCTURE& BEHAVIOR OF MORE GENERAL ELEMENTS
A.
1.polymorphism
2.Abstraction
3.Encapsulation
4.data hiding


I think the answer is polymorphism and not abstraction because he's talking about "incorporating" but again, he uses "structure" and thats confusing. 3,4 are ruled out. I think it is a very badly framed question. If you asked me the question without the options, I'd have said "inheritance".


"It's not enough that we do our best; sometimes we have to do<br />what's required."<br /> <br />-- Sir Winston Churchill
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: oops
 
Similar Threads
ExamlLab Collections' Set
Structure of Book - Enterprise Java 2 Security
On what circumstances the ArrayList, LinkedList, Vector will be used.
same element multiple times with default values
Attributes and elements