I read about small talk being completely object oriented.. is C++ also completely object oriented? if no.. then why so??
I read about small talk being completely object oriented.. is C++ also completely object
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No, it isn’t. You can write a valid, well-coded, excellently-styled C++ program without using an object even once.
C++ supports object-oriented programming, but OO is not intrinsic to the language. In fact, the main function isn’t a member of an object.
In smalltalk or Java, you can’t tie your shoes (or write “Hello, world”) without at least one class.
(Of course, one can argue about Java being a completely object-oriented language too, because its primitives (say, int) are not objects.)