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

Answers were Sorted based on User's Feedback



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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Post New Answer

More C Sharp Interview Questions

What are the Types of caching

0 Answers   TCS,


write a program to find the biggest palindrome in the given string

0 Answers   Microsoft,


hi my question is about understanding a text the user entered to a site , so i want to analyse that text looking for some specific items such as "honda" "shoffere" etc.. so if this site could help or could tell me where to go with such question ,i wonder. thanks

0 Answers  


What is difference between a constant and read-only in C#?

0 Answers   CDC,


What is data binding with example?

0 Answers  






What are the different generaions of Garbage Collection and how do they work

4 Answers  


What are the Types of optimization and name a few and how do u do?

0 Answers   BirlaSoft,


What is a method signature?

0 Answers  


How many types of delegates are there in c#?

0 Answers  


What is the output of TextWriterTraceListener redirected?

0 Answers   Siebel,


Can properties be static in c#?

0 Answers  


Different between method overriding and method overloading?

0 Answers  


Categories