answersLogoWhite

0


Best Answer

CPP typically stands for the C PreProcessor, which does macro expansion on C source code.

What I suspect you want to know are the differences between C++ and Java. See the links below for more information on that topic.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

14y ago

major diiffernce cpp is compiler based and java is interperter based and java is platform independant.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Major difference between java and cpp?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Major advantage in cpp compared to c?

The major advantage of C++ over C is the Object Oriented Programming compatibility in C++.


CPP Program for Implementing Knuth-morris-pratt pattern matching algorithm?

what is the pure algorithm instead of cpp program?


When did CPP start?

I believe it was in 1967


What is the difference between global and extern?

AnswerGlobal variables and extern variables are very similar, but with a major difference. Let's say you have a global variable in your header file, like this:( Refer how u can add the variable declaration in the source code as extern, i think we cant add into header files as it said)int x = 0;Now, in each file that includes that header file, there will be a new variable called x. Modifying x in file1.cpp won't modify x in file2.cpp.Now, for externs... Say you have something like this in your header:extern int x;Then, in file1.cpp (which includes your header):int x = 0;Then, in file2.cpp (also includes the header):x = 46;x in file1.cpp is also now equal to 46. You see, when you use an extern variable, you're telling the compiler that you want to use that variable across all of your source files. If you use a regular global, however, you create a new variable in each of your source files.Anyway, that's just for variables, which I assume you're talking about - global and extern functions are a bit different, and I'm not entirely clear on them.


What c plus plus program must be saved in a text with the extension cpp?

The .cpp extension is merely conventional; it is not required by the C++ standard. You can actually use any file extension you wish.

Related questions

What is the difference between the header file and the preprocessor directive in programming language cpp?

pata nhn


What is the difference between bopp and cpp film?

CPP film is a plastic extrusion made of polypropylene. BOPP films are bi-directional polypropylene. CPP film is high gloss, has good transparency, is heat resistant, and water resistant.


How does a compiler interpret the difference between c and c plus plus?

from the extension of your file.If it has an extension of .cpp then it is a c++ programIf it's extension is .c, then it is a C program.


Major advantage in cpp compared to c?

The major advantage of C++ over C is the Object Oriented Programming compatibility in C++.


What do the initials CBF and CPP stand for?

CPP


When was CPP Group created?

CPP Group was created in 1980.


When was CPP Studios Event GmbH created?

CPP Studios Event GmbH was created in 1983.


What salary you expect for a person of 8 years academic and corporate experience in c cpp DStru oracle java web asp net unix Linux system progr?

8 Lack Rupees in India per year.


CPP Program for Implementing Knuth-morris-pratt pattern matching algorithm?

what is the pure algorithm instead of cpp program?


What is CPP Studios Event GmbH's population?

CPP Studios Event GmbH is a company, not a population. It does not have a population as it is an entity, not a community or group of people. Can I help you with anything else?


When did CPP start?

I believe it was in 1967


What is a shorted CPP switch?

Bu11sh1+