Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Why do we use generics in c#?

966


What does return do in for loop?

914


How do I format in c#?

857


What is IL / CIL / MSIL?

1090


What is a decimal c#?

857


What is a nullreferenceexception?

1016


What is the difference between const and static read-only?

923


What does firstordefault mean in c#?

944


What is sorting in c#?

1001


What is console application with example?

911


What are the different ways of method can be overloaded?

876


What is desktop GUI application?

931


How to force my .net app to run as administrator on windows 7?

967


What are access modifiers used for?

1072


What is session and cookies in c#?

962