Think in Java Browse a

Source: Internet
Author: User

Think in Java as one of the Bible books in the Java language, almost every Java programmer must read the book, do not look embarrassed to say that they are Java programmers, but generally do not say that they seriously read, said that he turned over. As for the Android, of course, you have to flip.

The first chapter summarizes some language features of Java program development, and the author of the book is think in C + +, so the book is mainly based on C + + as a comparison object. Java is a language to improve programmer efficiency, its tolerance is much higher than C + +, compared to C + + can be said to develop rapidly. In the text, there are also Java is a c++--language of the statement, that Java borrowed a lot of C + + language features at the same time to abandon some complex features. Java in my eyes, to a large extent, object-oriented, in the static programming language is very good object-oriented language. Because it is a single inheritance, all classes have a common root node object, so it is convenient to do a garbage collection mechanism. Java exception Handling is a great productivity-enhancing syntactic feature, compared to the return value processing in other languages. Reflection, polymorphism, GUI and swing, package management methods, multithreading and concurrency, and more.

The second chapter mainly introduces the object. All things are objects! God makes all things, and sometimes special considerations. In Java for the sake of speed, some basic data types are not objects, such as int,char,byte,long,float,double, these are not objects, because these are placed in the memory of the stack area, rather than a slow heap (heap) area, the difference in speed, Also caused by the use of some of the differences, if you want to use the object, there are packaging classes, integer,double, these are automatic packaging. Object-oriented is to use object-oriented perspective to think about the problem, rather than the traditional process of language to think, of course, not to abandon the process flow, but to abstract a little, the process into the object. objects, which are composed of fields and methods, are somewhat similar to the data structures in the algorithm.

The third and fourth and fifth chapters introduce the basic operation types, structure statements, and some traditional C language knowledge----------

The last chapter, 22 chapters, mainly introduces the GUI and swing, the face of graphics tools, Java has fallen, applets have been replaced by Flash, IBM will eclipse open source. There are a number of threads in the GUI that can be solved with callable and future. Similar to Android, there are many similar control names and layout workarounds. However, the book says that simple layout can be written in code, and the complex layout relies on the IDE to drag it with a graphical window interface to give it better. Are Android controls complex? Ultimately, of course, it's all made up of code.

Think in Java Browse a

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.