Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

oops  RSS feed

 
sitaram irrinki
Ranch Hand
Posts: 158
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 Foreman
Posts: 2240
28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
?
 
Nila dhan
Ranch Hand
Posts: 161
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
abstraction
 
Akshay Kiran
Ranch Hand
Posts: 220
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!