当前位置:网站首页>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 .
边栏推荐
- MATLAB basic application 02 wind stock data introduction and use case:
- Weibull Distribution韦布尔分布的深入详述(2)参数和公式意义
- Watermelon video synchronization Tiktok also has benefits ~ the official "China Video Partner Program"
- [popular science video] what is a lens antenna?
- Elementary OJ problem of binary tree
- In depth description of Weibull distribution (1) principle and formula
- kmeans从0到1
- Global and Chinese lutetium oxide powder industry investigation and analysis and Investment Strategy Research Report 2022-2028
- The annual salary of testers in large factories ranges from 300000 to 8K a month. Roast complained that the salary was too low, but he was ridiculed by netizens?
- The road of global evolution of vivo global mall -- multilingual solution
猜你喜欢

【项目实训】微信公众号获取用户openid

Make good use of these 28 tools, and the development efficiency soars

Prism框架初识-模块化介绍

Image retrieval based on cross modal AI model

Pyinstaller packaging Exe (detailed tutorial)

On the night of the joint commissioning, I beat up my colleagues

redis集群(cluster)+哨兵模式+主从(replicas)

只会基础的功能测试的我,被炒鱿鱼了····

jmeter 性能测试用 csv,这个坑有些扯蛋

Redis实现消息队列的4种方案
随机推荐
Design practice of rongyun Im on electron platform
新知识:Monkey 改进版之 App Crawler
The role of MOV ah, 4CH int 21
Pytorch model loading and saving, and training based on the saved model
PCA from 0 to 1
Sogou Pinyin official website screenshot tool pycharm installation
Vue3+ts+node creates personal blog (database design)
Manually tear the linked list (insert, delete, sort) and pointer operation
Operation of simulated examination platform of diazotization process examination question bank in 2022
[project training] verification notes
redis集群(cluster)+哨兵模式+主从(replicas)
Software engineering - system flow chart
Colorize Voronoi Diagram Template
Tiobe - programming language ranking in June 2022
Point cloud perception algorithm interview knowledge points (II)
Unit tests in golang
Industry competition analysis and investment scale research report of global and Chinese micro potato industry 2022-2028
Matlab foundation 04 - detailed analysis of the use and complex application of colon operator ":"
【项目实训】微信公众号获取用户openid
Go language learning summary (7) -- Dachang go programming specification summary