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 / jenny bala

The major Difference between C++ and Java is,

1.C++ is not fully OOP language since we can write a program without class also, But in java we cannot write a program without class.

2.C++ is not fully platform independent where .class file is not generated if you didn't use class in your program. But in java all files will create .class file after compilation of program, so it's Fully platform independent.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the highest level of cohesion?

1109


What is the difference between encapsulation and polymorphism?

1153


What are the two different types of polymorphism?

1190


What are the advantages of polymorphism?

1078


What are the three main types of variables?

1176


class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash

2331


Write a c++ program to display pass and fail for three student using static member function

3454


Why is polymorphism needed?

1121


What is a class in oop?

1189


Can we define a class within the interface?

1095


What is constructor overloading in oop?

1178


2. Give the different notations for the class.\

2217


What is object and class in oops?

1115


What is abstraction oop?

1143


What is abstract class in oop?

1059