The Java Way of self-study (i)------a little advice for beginners

Source: Internet
Author: User
Tags ultraedit

The Java Way of self-study (i)------a little advice for beginners

There are a lot of books about Java on Kakiba, but it's like being in a melon field and picking a melon, and a lot of people don't know if they should choose that book. Soon proficient in Java may only a few people can achieve, that is, he has refined through which language, because the programming language is very studious, as long as you master a language, you can do follow. Because each language has its common point, take C language, because C language appears earlier, with more people, so people are accustomed to its grammar rules and design process, if now appear a new language, and it and C language grammar rules is Theno, then its result is definitely eliminated object. The reason is very simple, this new language grammar habits and people's programming habits are very far apart, so very few people use, and the development of language is for more use to have its value, if no one uses it will not have its value. Like the Java language, it appears later than the C language, but no matter how new it is, its grammatical rules and C language are basically different, so people also like to use, so that it can achieve its actual value. As I learn JavaScript, as I learn more about Java, it takes less than one weeks to make a Web page like hao123 in learning JavaScript.

And for most people, if they are not proficient in a language, they have just started to learn Java, so that even the basic rules of grammar has not accumulated, how can in the short term proficient in Java? The book overcomes this shortcoming, both for beginners and Daniel, have their corresponding adaptability. According to the author self-taught Java two years of experience, the author here, in fact, proficient in a language is very simple: for beginners, just beginning to need to put the basic concept over again, and the basic concept of the beginning of the book is a concise version, so this overcomes the concept of slow absorption of the shortcomings. Then it is to do the following program exercises and project development. One might ask, so what if some concept forgets? Is normal, encountered the concept of not understand to go back to the front or check the API documentation. So simple, the process of mastery is in the continuous investigation and practice between the formation of the Java concept in front of the students who have contacted a language simply once more, after all, although there are many similarities between each language, but there are many differences, so the main look at different places. Then continue to practice and do projects, so as to constantly improve themselves.

I have to mention another ancient way of learning, that is, the way of learning in high school. Many people take the middle school learning style to the university, and the university study style and the middle school study way is very different, no matter what you learn. Therefore, many students in the middle school study very few top-notch classmates in the university's study is very difficult, and even paid a lot of efforts, but the final result is not to the level of their own expectations. In the middle school learning Way is that we spend a lot of time to put the concept is thorough enough, especially for the mathematics is so, take the author, the author in the college Entrance examination of five mathematics book carefully turned three times, after class exercise a do not fall back. And in college, College is a small society, it will bring you closer to reality, while entering the social things are certainly more and more, how to deal with these things efficiently requires another way of learning. As I said above, most of the study in the university is on their own self-study, in the university by the teacher is equal to the side of the wall is about to pour, you are unreliable, this will only delay a student's future. Therefore, we in the process of learning, how to absorb the knowledge of books efficiently, very simple, is through continuous investigation and practice.

In the past in high school, often see how to improve the efficiency of learning, how to test high scores of the book, feel that people say in the sense of the feeling, they also saw the passion surging. But after two years of drilling in the university library, the author found that it was all the same to see. Because no matter in which the study method of the book, are to let you put your own time is full of learning a knowledge, it is obviously the ideal state, the number of people into the community can learn a whole knowledge, is that students have to learn different courses every day, let alone into the community of us. In fact, the words come back again, other people's learning methods are justified, Rengeyouzhi, everyone's situation is very different. But whether you are learning from other people's study methods, or their own, only suitable for their own is the best.

Also, learning methods are important, but more important is their own mentality, if a notwith two days, then, no matter how scientific method of learning for him is useless. The truth is simple, like a person to his girlfriend's heart is not the same, then he would like his girlfriend to spend a lifetime with him?

For beginners, I suggest that just start practicing Java program with the DOS environment to compile and run, this can also improve their own program debugging level. The author admits that Eclipse is very powerful and very convenient to use, but I think this is not suitable for beginners, because many functions, classes, methods, etc. do not need to write their own can be automatically generated, so instead of learning for beginners. This truth is also very simple, in fact, the more convenient things we have to be vigilant, this and the sky out of the pie is a truth, it may not be a trap is a trap.

Just beginning to learn Java is not much, the key is fine. Many people in the study has such a misunderstanding, the book borrowed a lot, but it is the book to learn a little, the book to learn a little, the end of the knowledge is not a holistic, and finally to their own feeling is like learning a lot, but the real use of the helpless. So, you just need to use a book to make it fine.

Here we need to make a clear mistake: Java learning is for project development, not for research. So, the key to learning is to know how it is used, not to know exactly what it is. And the author only so to write this book, this is one of the reasons. The reason why I started to learn Java at the time also borrowed a lot of books, but the theory is too deep, so not only cumbersome and difficult to understand, and finally used up or can not write out. Take the IO stream in the chapter, a lot of books want to tell it very clearly this is true, so the theory is very deep, but this will only make people see confused and unintelligible. This will be less effort, so the author in this chapter, it is very simple, mainly to make clear the whereabouts of the stream, such as reading is to read the file from memory to the monitor, writing is through the keyboard to write files to memory. Figuring out the basic truth, the functions behind it all unfold around this point, and it's easy to learn to understand it. This is the same as practicing, the first to the internal strength to practice deep, the deep behind the profound kung fu can be quickly acquired, on the contrary, will only go mad.

Here is a suggestion to learn Java without fear. In fact, whether it is learning Java or other computer knowledge is the same, we only think that computer knowledge is more difficult mainly because of its abstraction. Because we want to compress three things in real life into two-dimensional inheritance, there is a barrier to understanding. But have you found that reading novels is not very abstract and easy to understand, and why? The novel in fact, and our computer knowledge, are the real life of three-dimensional things compressed into a two-dimensional concept, but it is still not abstract and easy to understand, mainly because we read the novel when some people have put themselves into the novel, as if the protagonist in the novel is his own, This certainly looks more and more exciting. Inadvertently found this little trick, then why don't we put it in our computer knowledge to apply it? So, when I write this book, I try to give the most appropriate practical examples to attract people into it, so that the abstract concept will no longer be abstract. Remember in the senior year, our teacher in charge of humor said: We are all right when the textbook when the novel turned over. Although the teacher's voice just fell, the classroom was an uproar, but I accidentally remembered this sentence and got a lot of inspiration from it. Why don't we treat these abstract knowledge like fiction?

Next talk about the operation of the computer, some people say so simple also to speak, but I have to say: the more simple things to pay attention to. As we sleep at night, it sounds simple to ask us to sleep before 12 o'clock every night, but how many people can really do it? Computer operation is the same, perhaps everyone in this regard may be more than the author, but many people still exist in such or that the operation of the Department of the problem. Here's a quick introduction:

The files placed in the computer should be stored in a detailed list, so that the information of each of your files is at a glance, the specific operation: in the File Manager into the Tools--Folder Options, click on "Apply to all Folders", After that, all the files in your file Manager are in the form of a detailed list. In this way, even if you are not a master, he will think you are definitely a master.

When you save the file can use shortcut key ctrl+s, switch window with ALT + TAB, screenshot with ALT+PRTSC. These are the most commonly used shortcuts, and you may not be used to it at first, but you have mastered it for a long time. In some places many people envy you so much, you are just more professional than them.

Write Java program software generally with UltraEdit or EditPlus, the author uses is UltraEdit, this can according to personal hobby to decide. The most used was Notepad, but why not now? Because UltraEdit and EditPlus have a variety of languages developed in the format, especially suitable for the development of programs, so that the program is also clear, and Notepad is obviously inferior to a lot.

Here again, the name of Java, whether it is a class or a function to see the name, especially in the project, this is particularly important, because you write the program is not just to give yourself, but for others to use, so that it has its value, and if you have a class or function naming is not standardized, You don't want to look at these programs. When we write Java programs to have a standard program format, so that not only the development of the program is easy to understand, but also reflects a person's self-cultivation problems, at least through this can be seen a person to the seriousness of life. If you go to the interview, the boss does not understand you, he will be from here to ponder your attitude and personal accomplishment.

Life is really simple, but a lot of people think it's complicated!

Tao can be very road, name can be very famous.

The way of self-study of Java is extensive and profound, and it is simply summed up by combining theory with practice.

The full text of Java self-study can be downloaded in your own blog:http://my.oschina.net/mkh/blog/340689

  Original article welcome reprint, please indicate the source when reproduced.

  Author Recommended articles:

"the way of self-study in Java

    " summarizes 5 kinds of more efficient and commonly used sorting algorithms

" How to get system Information

" how to generate two-dimensional code process detailed

The Java Way of self-study (i)------a little advice for beginners

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.