why C++ Partial Object Oriented Programming Language and C#
and Java Fully Object Oriented Language
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / tsahi
C++ allows writing global functions, outside of any class,
while in C# and Java all methods (functions) must be
included in a class.
Is This Answer Correct ? | 92 Yes | 17 No |
Answer / rakeshkk
c# and java are purely objected oriented laguage ,in c# and
java without class we can't write the program. But in c++
we can write the program using class or without using
class.
Is This Answer Correct ? | 33 Yes | 6 No |
Answer / tushar bhade
Because main is global function in c++, using friend functions we can access private data members. and c++ contains basic data types i.e int, char etc,but in C# and Java contains basic types as a class.
Is This Answer Correct ? | 15 Yes | 4 No |
Answer / mohan pratap singh
1-In C++ we can use functions outside of any class,
while in Java all methods (functions) must be
included in a class.
2In java one object should have only one
hierarchical parent reference.but In C++, Multiple-Inheritance
contradicts this principle.
so we say that java is a purely oop language.while c++ is
partialy oop language.
Is This Answer Correct ? | 12 Yes | 4 No |
Answer / priyanka jadhav
Java is the Platform Independent Language Because Java Programs Can be easily moved from anywhere at anytime.If user of the java want to used the functionality of the Java they are Face relax Since they can not pay money for purchase the Java.They simply download the byte code of java and executed it on our machine.
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / m arunachalam
Where as c++ is not an object oriented programming. Because,
the main function should written on outside the class. So,
c++ is not an object oriented programming.............
Is This Answer Correct ? | 4 Yes | 2 No |
Answer / akash
i think java is also partial independent language because we may compile or run the java program only in those system which support JVM..There may be an operating system which doesnot support JVM then in that system we cannot compile our java program.
Is This Answer Correct ? | 4 Yes | 5 No |
Answer / kiran kumar maharana
c++ is partial object oriented language because
1)whatever the concept in c++ about 90% are based upon class concept
2)other 10% is that we can write c++ program with out using the class concept also.
also i don't know about c#(sorry for that)
Is This Answer Correct ? | 4 Yes | 12 No |
Answer / gyana
because C++ allows us to use only the windows
application,but java and C# give us to work with both
windows and web application.so C++ is partial object
oriented language,but C# and java is fully object oriented
language.
Is This Answer Correct ? | 4 Yes | 53 No |
What does public mean in c#?
What are iterators?
What is difference between code access and role based security?
What is encapsulation in csharp?
How can I produce an assembly?
What are scriptable objects?
What do you mean by stack and heap in c#?
Describe a Struct ?
What Is A Multicast Delegate?
What is scaffolding in c#?
What is the difference between structure and class in c#?
Explain lock, monitors, and mutex object in threading.