question 2 and reason, understand the situation
...
Pairing and mutual evaluation other (sentiment, thinking, etc., optional)XxxXxxLearning progress Bar
lines of code (new/cumulative)
Blog Volume (Add/accumulate)
Learning Time (new/cumulative)
Important Growth
Goal
5000 rows
30 Articles
400 hours
First week
200/200
2/2
20/20
Second week
300/500
2/4
is), and then compare the speed (read only, not output) of reading data from the file using BufferedReader with scanner, which method is fast? Intercept the test source code, the number of the study. Please analyze the reasons in detail. Tip: You can use JUNIT4 to compare run timesThis picture is cut in the school's lab, so it's not the same as other diagrams.Using BufferedReader will save the contents of the file to the memory and then read, and sca
Job 14-Databasetags (space delimited): Java1. Study summary 1.1 This week summarize anomalies in the way you like (mind mapping or other).2. Using database technology your system 2.1 briefly describes how to use the database to transform your system. What table do you want to build? The design of your watch. What are the key classes used in JDBC in the 2.2 system? 2.3 Key code for database related modules. Critical lines need to be annotated. 2.4 Sele
run times
BufferedReader reading data faster than scanner
BufferedReader has greater buffer memory; Scanner requires parsing of input data, which is more time consuming
4.3 character encoding 4.3.1 an existing EncodeTest.txt file that contains some Chinese, the file is encoded using UTF-8. Use FileReader and BufferedReader to read the EncodeTest.txt text into and out. Do you have garbled characters? Why does it have garbled characters? How to solve? (Key code, occurrence numbe
section of the system with the stream associated with the file? Why use these interfaces with classes?
Read with classes, classes, File FileReader BufferedReader classes, files created through file objects, and the other two classes with the read.
Write files are used to BufferedWriter , OutputStreamWriter , FileOutputStream .
2.3 Read and write file-related code. Key lines need to be annotated3. Code volume Statistics 3.1 Statistics The amount of code done this week selected:
second week
200/300
1/3
15/25
third week
189/489
1/4
20/45
Planned study time: 25 hours
Actual learning time: 20 hours
Improved situation:
This week's learning content is a bit more, need to understand more places, many places the correlation needs to be more detailed analysis, using the book and video combination of methods. O
you confirm the installation, you have a long code after entering Java using the command prompt, and you don't know what it means.Resolution: After reviewing the data, the corresponding version prompt appears after the change command is Java-version2. Issue: After installation, there are two JRE folders in the Found folderResolution process: Access to information and read the relevant blog content, learn a
Experiment 5, import the 3rd Chapter sample program, each sample program summarizes the learning content from the syntax and algorithm two angles.(1) test Retirement.java,retirement2.java,lotteryodds.java to master the cyclic control structure;(2) test Bigintegertest.java, master the use of large numerical classes;(3) test Lotterydrawing.java, master the use of arrays;(4) test Compoundinterest.java, master the use of multidimensional arrays;(5) Test
Part I: Course preparation sectionFill out the course study Platform Registration account:
Platform Name
Registered Account
Blog Park: www.cnblogs.com
The night sky Fu said
Program Design Evaluation: https://pintia.cn/
[Email protected]
Code Hosting Platform: https://github.com/
Wylfu
Chinese University mooc:https://www.icourse163.org/
2326669056
, thinking, etc., optional)
This week the study task is heavier, in the study tenth chapter, because lacks the eighth chapter knowledge, learns to be difficult, the understanding of the code is not deep enough, encounters does not understand only then forwards the corresponding knowledge point to learn the side to supplement, the efficiency is not high. ShouldAfter encountering the knowledge points
');
} else if (score >=) {
System.out.println (' B ');
} else if (score >=) {
System.out.println (' C ');
} else if (score >=) {
System.out.println (' D ');
} else{
System.out.println (' E ');
}
It is clear from this code that each else if statement is written in a sequential order and must be written in a logical order when it is actually written, otherwise a logical error will occur.
If-else If-else statement is a multi-branch conditional statement provided
201771010114 Li Xiaoying "Object-oriented programming (java)" First week study summaryPart I: Course preparation sectionFill in the Course Learning Platform Registration account,
Platform Name
Registered Account
Blog Park: www.cnblogs.com
https://www.cnblogs.com/li-xiaojing/
Program Design Evaluation: https://pintia.cn/
[Email protected]
) test Lotterydrawing.java, master the use of arrays;Experimental results:(4) test Compoundinterest.java, master the use of multidimensional arrays;Experimental results:(5) Test Lotteryarray.java, master the use of irregular arrays.Experimental results:4. Experiment Summary:Through the study of this chapter, I learned the basic knowledge of identifiers, keywords and annotations, and learned the contents of data types, variables, operators, type conver
often subject to changes in the index.Problems in teaching materials learning and the solving processThis week to study is the 8th, 9 chapters of knowledge, learning how to handle the exception of the code, the usual code will have some small problems, through the students and books to explain can be explained, through the knowledge of this chapter, my ability to deal with the code of abnormal error has improved a lot, I can also carry out even the c
. The InputStream instance can be specified using the properties's load () method. The InputStream instance is automatically closed when the load () method finishes.
If you want to get all the keys in the map, you can call the map's keyset () to return the set object. If you want to get the key and value of the map at the same time, you can use the entrySet() method, which will return a set object, each element is an Map.Entry instance, you can call getKey() the Get key, call to getValue()
, there are many places to see a few times can not understand, through comparative learning materials and video, just understand some obscure content.Problems in code debugging and the resolution processTo the students to learn the use of idea, learned to create a new class in the SRC folder, in order to run the code, because it is a copy of the code, so in writing and running the process did not appear any problems.Other (sentiment, thinking, etc., optional)Although not with idea, Baidu can not
Domain-specific languages have become a hot topic; Many functional languages are popular, mainly because they can be used to build domain-specific languages. For this reason, in the 8th article in the Scala Guide series for Java™ developers, Ted Neward to build a simple calculator DSL to demonstrate the power of building an "external" DSL for functional languages. He examines a new feature of Scala: Case cl
20165208 2017-2018-2 "Java program design" Nineth Week study summary textbook Learning content summary 13th Chapter URL Class
The URL object contains three pieces of information: protocol, address, and resource
Two ways to create a URL object:public URL (String spec) throws MalformedURLExceptionpublic URL(String protocol,String host,String file) throws MalformedURLException
Initializing a U
collection
Problems in code debugging and the resolution processThis week's code hosting:Learning progress bar Learning progress bar
lines of code (new /Cumulative)
Blog volume ( new/cumulative)
Learning time (new/cumulative)
Important growth
Goal
5000 rows
30 Articles
400 hours
First week
150/150
1/1
15/15
Second week
150/400
1/2
15/30
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.