JAVASE(1)
Chapter 1: Getting to Know Java
table of Contents
Expansion-C language cross-platform principle
Java architecture
- JavaSE (Java Standard Edition): Standard Edition, an application positioned on personal computers.
- JavaEE (Java Enterprise Edition): Enterprise Edition, a server-side application.
- JavaME (Java Micro Edition): Micro Edition, positioned in the application of consumer electronic products.
Java core mechanism
- Garbage collection mechanism
- Cross-platform principle
Expansion-C language cross-platform principle
- The difference between C language cross platform and Java cross platform:
(1) Java bytecode file has nothing to do with the platform. Take this bytecode file to run on different platforms.
(2) Different platforms of the C language have different compilers. The compiler is related to the platform, and the compiled executable file is also related to the platform.
- Is C language cross-platform?
Answer: In fact, what we mean by cross-platform refers to whether the compiled file is cross-platform . From this perspective, the C language is not cross-platform.
Many people on the Internet say that the C language is cross-platform because different platforms have different compilers. It refers to the cross-platform source files .
- Is C language efficient or Java efficient?
Answer: C language is highly efficient . Because the executable file it produces can be run directly on the platform.