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...

What is the difference between C++ and java?

Answer Posted / ramakrishna yechuri

c++ is not purely object oriented language.
becoz when ever u say a purely object oriented everything
should be written inside the class.

In c++ u can write member functions outside the class also.

2) Though u declare a variable with private access
specifier i can access outside the main function with the
help of friend function.

Java is 99% object oriented.
purely object oriented means there should not be any
primitative data types.
java contains primitive data types.

Is This Answer Correct ?    13 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

program for insertion ,deletion,sorting in double link list

2692


What is inheritance in oop?

1036


What are benefits of oop?

1135


Why is static class not inherited?

1108


Can we have inheritance without polymorphism?

1027


what are the ways in which a constructors can be called?

2139


What is abstraction oop?

1099


Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box

2620


What is encapsulation with real life example?

1038


officer say me - i am offered to a smoking , then what can you say

2102


How long to learn object oriented programming?

1093


There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.

1998


How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction

2144


Why is oop useful?

1108


What do you mean by overloading?

1077