当前位置:网站首页>Freshman year: learning summary

Freshman year: learning summary

2022-06-12 01:42:00 zl202111

Learning summary

Studied for a semester Java Course , I think it's time to sum up my experience . Start learning any course ( Include java), Interest is the most important . I always feel that I am learning computer programming language , Learned a lot , But every language stays on the edge of knowledge , Did not go deep into their essence. , Little is known about the essence of them. , So the school opened this course , And have their own teachers to explain , There's also a chance to get on the computer , It's much easier than self-study , So I got my confidence , It's been a long time java Journey .

Remember the first classic program I wrote “hello Word”. Since then, I have begun to walk into Java The world of . I didn't quite understand why main Methods must be defined like this public static void main(String[] args), Can we not write like this ? Asked a lot of students , They told me the same answer “java This is the requirement itself ”, But I'm not willing to , The following operations are carried out : hold main Change the name and run , See what mistakes are reported , And then analyze it according to the error information ; hold main Of public Remove , I'm trying , What's wrong ;static It's not going to work ; I do not know! main Whether the method must pass a String[] Array of , hold String[] Get rid of , Change to int[], perhaps String Give it a try ; I don't know if I have to write args Of the parameter name , Also can put the args Change it to another name , Look at the results of the run . The result is Hello World The program has been changed seven or eight times , Keep running , Analyze the running results , Finally, I completely understand why main Methods are defined like this . Then in the future study, I also use this method to solve the problem , But I find that my speed is much slower than others , I've divided my spare time into java.

Because the foundation is the most important , Only when the foundation is solid can we have a deeper understanding of the later learning !

Learning a new language , Reference books are inseparable . Listening to the teacher, it's difficult to set the textbook , Not suitable for us beginners , So I borrowed reference books from the library ( A short introductory book to learn the simplest 、 The most basic thing , Including learning Java Grammar, etc ). meanwhile , The simplest program should also be debugged , Think more about what will happen if you change it ? Why do you have to write like that ? Think more about these problems and then operate them , It will make you gain more . It's useful to think over and over again .

I'm learning Java The grammar of ,Java The syntax is similar c Linguistic , So learning is easier . The only thing to note is the use of a few keywords that are not easy to understand ,public,protected,private,static, When to use , Why use , How to use it? , It took a long time to discuss with my classmates before it was solved .

I'm learning Java The characteristics of object-oriented programming language . Like inheritance , Constructors , abstract class , Interface , Method polymorphism , heavy load , Cover ,Java Exception handling mechanism of . For someone who doesn't have an object-oriented language background , I think it's going to take a long, long time , Because learning Java Not before C++ Experience , Only C The experience of language , It took a long time , To make these concepts clear , Think over and over the examples in the book , modify , Try , Look at those chapters over and over again , see through , I've seen it many times , Only then did I fully understand .

Getting familiar Java Class library of . There are many classes in the base class library . It is said that there is 3000 Multiple . But I really use only a few , for instance java.io.; java.util.; java.sql.*; etc. .

Besides , I'm concerned about static,public,private,Exception,try{ },catch { },finally{ } Wait, I didn't understand at first , All the examples above are successfully run , And then it starts to destroy it , Constantly rewrite the program according to the questions in your heart , See if it works , What it looks like when it's running , Whether we can get the expected results . It's time-consuming , But an example program is destroyed several times . I learned the relevant knowledge thoroughly . Sometimes even deliberately write some wrong code to run , See if you can get the expected run error . This is a profound mastery of programming .

I'm learning Java I came to the conclusion that :

1. I am learning , Form good habits ( Write parentheses in pairs , The letters should be case sensitive , Spell words accurately ).

2. In the process of learning , It's better not just stay in java The surface , It's not just the example on the copy that runs the result . it is to be noted that , Be patient even with a simple example 、 debugging 、 changes .

3. In the process of learning, we must do it by hand 、 Try to write code , Instead of just reading a Book . A lot of things and experiences must be done by oneself to truly belong to oneself .
4. stay Java In the process of learning , May encounter all kinds of problems, not easy to solve , We should go to professional forums to learn more about relevant knowledge , Knowledge in books is limited . To be able to search for useful information from the Internet Sort it out , Promote the deepening of learning and the improvement of knowledge level .

I watched a lot of online courses , To a certain extent, we should try to make things by ourselves , But I feel like I've only studied for one semester , It's not enough , I hope I will continue to work hard in my future study , Being able to really own a programming language , Play a role in their future development . I'm learning java Language at the same time , It also taught me how to find problems , How to solve the problem , How to study effectively and so on , I believe it will help me all my life .

It's a pity that I didn't take part in the competition this semester , I have to quit for some reasons , If there is a chance next semester , We must strive to participate in a competition .

原网站

版权声明
本文为[zl202111]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/163/202206120136513415.html