Think of Java like a computer scientist--a summary after reading

Source: Internet
Author: User

The book belongs to the entry-level Java books, and other to the programming idea, the core technology is different, this book is not a step-by-step explanation of Java into knowledge, but with the deepening of language gradually increase the knowledge point.

This book, in a language developer's perspective, explains the mechanics of the Java language in a comprehensible way.

For example, the most basic language variables and methods, to follow-up in-depth, the function of the increase, gradually increase the difficulty and knowledge points.

The contents of this book

Program language

A programming language to see whether it is a high-level language or a low-level language before learning. Lower-level languages are closer to the bottom of the computer, but not easy to write and understand, such as compilations. It also depends on whether it is an explanatory type or a compilation. For example, html,css are interpreted, and you provide a mechanism for interpretation, which can be executed wherever you are. But the language that needs to compile is different, you need its corresponding compiler, in order to turn it into executable files, such as C language, Java and so on.

Learning process

The basic content of the language is the same,

For example, creating objects or variables (much the same, possibly different keywords), but the underlying principles, such as the mechanism of storage operations, are different, and in-depth understanding is helpful for learning languages. But beginners are not more concerned with these details. ), such as cyclic judgment, and so on.

These simple content basically can handle 80% of daily business code.

The rest is a high-level feature, such as JS has its prototypes and closures, Java has a combination of design patterns derived from some of the advanced framework tools, these are further in-depth understanding of the content.

  

Once you understand the basics, you can dive into its features.

For example, Java is about an interface-oriented package, then what is an interface? An interface is an abstract class, but its methods must be inherited. And there is no specific meaning, it is more suitable as a specification. The processing of the details is given to the implementation class.

For example, some keywords, static,final. What are the characteristics of these declared objects and methods, variables?

For example, some high-level containers, arraylist,hashmap, in fact, commonly used are the two ...

For example, some common file operations, Excel,txt,word,pdf, etc.

such as how to design a set of components, so that they have a certain degree of extensibility and usability, then you need to learn more design patterns and high-level framework.

Like the Java language, the biggest advantage is that many people, open source Toolkit a lot of, basically you can think of code, have already existed. What you need to learn is how to use someone else's hammer.

Finally, in order to master a language, but also to learn the underlying processing mechanism--JVM. As previously said in Bo, a racer knows the engine's principles and can drive a car if he doesn't know it, but how to speed up and slow down at the right time is a skill that must be mastered.

Think of Java like a computer scientist--a summary after reading

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.