The development of programming language first-generation languages: Machine language 0011 1100 ... Second-generation languages: assembly language ADD 12,0x13 third-generation language: has reached the advanced language stage, process-oriented language, C, Basic Fourth generation language: Object-oriented language, Java, c#,c++ Five Dynasties language: SQL statementsSeveral versions of Java:
- Javase (J2SE) (JAVA2 Platform standard Edition,java platform version)
- EE (Java 2 platform,enterprise Edition,java Platform Enterprise Edition)
- Javame (J2ME) (Java 2 Platform Micro Edition,java Platform mini version)
Features of Java:
1.java style is similar to C + +, in a sense Java is a variant of C + + 2.java eliminate the error-prone and incomprehensible pointers, structures, and memory management in C and C + + 3.java provides a rich library of classes, easy to develop programs 4.java is a fully object-oriented language that supports object-oriented features such as inheritance, overloading, polymorphism c++ is an object-oriented and process-oriented mixed language, C is a purely process-oriented language 5.java is a strongly-typed language that is more rigorous than C + + inspection, with Java case-sensitive letters 6.java provides automatic garbage collection mechanism GC, which effectively avoids the memory leak problem of C and C + + 7.java prohibits unauthorized access to memory because Java does not have pointers, memory requests and releases 8. Cross-platform, Java source code is compiled into a structured neutral intermediate format, which is not machine-independent, as long as the installationWith JVM (Java Virtual machine) Computers, Can run this machine-independent intermediate file,. class, Java compiles at once, runs everywhere 9. For different operating systems, there will be different Java virtual machines, This also determines the portability of Java 10. Java supports multi-threading, simple understanding, if it is a single-core CPU, then through the time slice rotation, multi-threaded execution program, if it is multi-core CPU, then you can understands that two or more threads are running at the same time
Origins and Fundamentals of Java