Home  >  Article  >  Java  >  What do java and c languages ​​have in common?

What do java and c languages ​​have in common?

little bottle
little bottleOriginal
2019-05-18 16:38:067345browse

The common points between Java and C language are: 1. Both are computer programming languages; 2. Both are tool languages ​​that can complete a work; 3. Many syntaxes are close to the same; 4. Both have great community resources; 5. They are all relatively popular languages, etc.

What do java and c languages ​​have in common?

#Java and C language are both computer programming languages. This article is an introduction to the common points between Java and C language. Interested friends can learn about it.

C language: structured programming language, fast and efficient.
JAVA language: A pure object-oriented language produced by simplifying and improving the C object-oriented mechanism, everything is an object.

Common points:
1. They are all computer programming languages, tool languages ​​to complete a work.
2. Many grammars are close to the same.
3. They all have a lot of community resources, and they are all relatively popular languages.

After talking about the common points, let’s talk about the differences:
1. C is written once and compiled everywhere. JAVA is compiled once and executed everywhere.
2. JAVA is a language specification, and its compiler is also developed in C language.
3. The main application scope is different. C is mainly for low-level development, while JAVA will be relatively faster in developing common applications.
4. A thing can be developed in two languages. It depends on which one you are proficient and convenient in, and the application scenario.
5. C is compiled into binary, and JAVA is bytecode.
6. Compilation tools are different.

The above is the detailed content of What do java and c languages ​​have in common?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:How to learn jspNext article:How to learn jsp