Click here to Skip to main content
15,868,141 members
Please Sign up or sign in to vote.
1.44/5 (3 votes)
See more:
will u anayone explain briefly?????
Posted
Comments
[no name] 11-Mar-15 22:46pm    
Please make your own effort before posting common questions: http://www.codeproject.com/Questions/288354/Object-oriented-VS-Object-based-Language. If this is not adequate just try Google. After all that ask a specific question.
NagaNimesh 11474558 12-Mar-15 1:08am    
i searched got a conclusion but have a doubt
t=what is abstract data types????????? will u tell me??????
Sergey Alexandrovich Kryukov 12-Mar-15 1:53am    
I tried to answer; please see Solution 3.
—SA
Sergey Alexandrovich Kryukov 11-Mar-15 23:04pm    
Strictly speaking, all such "difference" questions are incorrect. For example, the answer "the second one has 3 more letters" is as correct as many other answers. I'm not joking. In this case, both object-based and object-oriented are more or less fuzzy concepts without universally accepted exact meanings, but I would say that "object-based" is much less certain than "object-oriented". Finding a "difference" is still pretty much counter-productive...
—SA

NagaNimesh wrote:
i searched got a conclusion but have a doubt
t=what is abstract data types????????? will u tell me??????
Abstract are not just data types; abstract are some types, those which are not intended for instantiation. In some languages, it is syntactically indicated and inferred for derived types, so accidental creation of the type's instance is prevented. The purpose is to use them only as the base types for other types.

Besides, using them as compile-time types representing elements of some set of objects is used for polymorphism. In this case, the members of the abstract base class (strictly speaking, it does not have to be abstract at all, it could be pseudo-abstract, that is, sometime instantiated for some purposes; it's only important that it is a base of all the runtime types of the set) are used as a common interface for all objects of the set. All operations with these objects are therefore should be performed only through these common members (casting to more derived type is considered as OOP violation; it could be used but is the best avoided; better code design should be used instead). Another mechanism, late binding, is used to hook up the more specialized methods and properties specific to all the runtime types, these specific methods or properties should always be virtual; late binding is actually the heard of OOP.

Another, alternative kind of compile-time type representing polymorphic set is the interface type.

From the above, you should be able to see that asking separate questions like yours are not very useful. One aspect hooks up another one, at it goes this way until you cover all OOP. OOP cannot be learned as list of topics, only holistic approach can be used. Very often, traditional OOP teaching creates false impression that there are difference pillars in OOP paradigm, but in reality this is not so. All concepts are interdependent and need to be learned together. I would advise to start it with reading one single book, from the beginning to the very end.

—SA
 
Share this answer
 
Comments
[no name] 12-Mar-15 6:14am    
Bonus pts for ur patience ;-)
Sergey Alexandrovich Kryukov 12-Mar-15 8:43am    
Thank you.
—SA
This should be enough to grasp the idea: http://en.wikipedia.org/wiki/Object-based_language[^].

To really understand it, you would need to know very well how OOP works. Despite of the extreme popularity of this paradigm, I strongly believe that the number of the "software professional" who don't understand it is considerably greater than the number of those who do. But see also my comment to this question. Understanding it is much more important than the pretty counter-productive figuring out of "differences".

—SA
 
Share this answer
 
Comments
NagaNimesh 11474558 12-Mar-15 1:25am    
tanq so much
Sergey Alexandrovich Kryukov 12-Mar-15 1:26am    
You are welcome.
Good luck, call again.
—SA
NagaNimesh 11474558 12-Mar-15 23:52pm    
ya sure.... tanq for the support
Sergey Alexandrovich Kryukov 13-Mar-15 0:24am    
You are welcome.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900