why C++ Partial Object Oriented Programming Language and C#
and Java Fully Object Oriented Language

Answer Posted / techy

Tsahi's answer is correct. Let me add few points to support
his answer.

1. According to "Pure" object oriented principle, no
method/routine should exist without the object. In C++, main
() method can be independant and does not need any class
but Java/C# its static method of "some" class.

2. C++ provides "Friends" which is absolute corruption to
the OO-Principle of encapsulation.

3. According OO-Principle, everything needs to be object.
C++ provide inbuilt datatype- int,float etc which are not
object in their nature. C#/Java also provides same kind of
datatype but its inner presentation is always object. For
example: in java you have got wrapper classes and in C#,
all these types are derived from System.ValueType object.

4. According OO-Principle, one object should have only one
hierarchical parent reference. In C++, Multiple-Inheritance
contradicts this principle.

Is This Answer Correct ?    129 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which attribute is used in order that the method can be used as webservice?

508


What is difference between encapsulation and abstraction in c#?

451


Explain About a class access specifiers and method access specifiers.

531


Which namespaces are necessary to create a localized application?

604


What does immutable mean in c#?

501






Define clr in .net?

555


What is the Signification of the "new " keyword in C#? example

501


What is a concrete class in c#?

525


Where is the keyword void used?

542


How do I create a multilanguage, single-file assembly?

490


What is an expression in c#?

488


What is the use of the dispose method in C# ?

535


What is a three-tier application.

546


what is boxing and unboxing?can we initialize unboxing directly?

492


What is difference between property and variable in c#?

460