20165318 2017-2018-2 "Java Program design" Sixth week study summary teaching Contents study Summary Eighth chapter common practical Class 1, String class
The string class is used to process character sequences, and in the Java.lang package, the program can use the string class directly. It is important to note that Java declares the string class as the f
20165318 2017-2018-2 "Java program design" Fifth Week study summary study summary
When using idea, because the code I wrote earlier is using GBK encoding, when you open it, the code will be garbled in Chinese because it defaults to UTF-8.
Summary of the contents of the textbook: The seventh chapter inner class and Exception classFirst, inner class and anonymous class
Inner class:
20165103 2017-2018-2 "Java program Design" 7th Week Study summary Textbook study summarySummarize what you learned this week as simple as possible.Problems in teaching materials learning and the solving processTextbook learning Problems first go to https://shimo.im/doc/1i1gldfsojIFH8Ip/to see, if others did not ask the same question, you can edit the document to add, and then copy their questions to the fol
20165103 2017-2018-2 "Java program design" 1th Week study summary textbook study summary
Chapter One Essentials Summary
The status and characteristics of Java
Installing the JDK (Windows and Linux operating systems)
To write a simple Java application
Learn about different programming styles
Anti-compilation
Learn to submit jobs using the code cloud
Problems in teaching
code as follows;public class Example3_7 {public static void main (String args[]) { int sum =0,i,j; for(i=1;i
WORKAROUND: Because I use the end-of-line style when I hit the code, and even if if there is only one line of code in the statement that does not omit {}, I enclose the statements if in the statement in break; {}, but the output primes are only 2 and 3, but I get rid break; The {} of the s
code for this week exceeds 300 branches, plus 2 points
Other bonus points, plus 2 points
Beautifully formatted plus one point
Add 1 points to the progress bar to record the learning time and improvement situation
This week's study of the knot
Student number 21st, pair
Pairs of learning content
To discuss and study aft
resolution process
Issue 1: In the Java Runtime extension, the Jerry.jar file needs to be stored in the Jre/lib/ext folder in the JDK installation directory, but I do not see the Ext folder under the folder.
Issue 1 solution (not resolved): Jdk\jre\lib\ext is the extended class library that the JVM loads. After a network lookup did not find the answer to the real problem, I think it should be
return the number of columns in the result set RS, calling other methods to implement the corresponding function.
Transaction
Transactions and processing: the application guarantees that the SQL statements in the transaction are either all executed or not executed.
Transaction process steps
Turn off autocommit mode with the Setautocommit (Booean B) method
Handling transactions with the Commit method
Processing a transaction failure with the rollback ()
20165201 2017-2018-2 "Java program Design" 7th Week study summary textbook Study content summary 11th chapter code hosting last week exam wrong title summaryParsing: B: A subclass can have only one parent class, but a parent class may have more than one child classParsing: The A:abstract keyword cannot be applied to static, private, or final methods. E: cannot have method bodyParse: A: It should be dashed.
database has not been connected ... Such as:
Problem Solving method: I asked our class to use the same Mac classmate, and search the question on the Internet, the conclusion is: My JDK version is too high, I use JDK 9, but the current connector does not support this version, so I need to swap with JDK 8
Code Hosting last week exam error summaryAnswer: ACDEAnswer: Ab,select is notAnswer: Rowset inherits the interface resultset and populates its data area with populate!Learning progress
wrong quizParsing: B: A subclass can have only one parent class, but a parent class may have more than one child classParsing: The A:abstract keyword cannot be applied to static, private, or final methods. E: cannot have method bodyParse: A: It should be dashed. C: The interface cannot invoke other non-interface methods in the classLearning progress Bar
lines of code (new/cumulative)
Blog Volume (Add/accumulate)
Learning Time (new/cumulative)
Important Growth
constructing a file object where filename is the name of the document, DirectoryPath is the path to the file, and Dir is a directory:
File(String filename);File(String directoryPath,String filename);File(File dir,String filename);
Buffered streams
Output stream: The Read and write methods of the character input stream and output stream use a character array to read the data
Use scanner to parse a file, create a dialog box with JFileChooser
Code Hosting(run result of s
infix suffix expression: The results are as follows test of the problem of the output
test for the answer of the computed
infix suffix expression Test
difficulties encountered in testing and workarounds
Difficulty 1: Because at that time the class is not unified, the class is too many, so there are some tests split and incomplete; /li>
Difficulty
20165203 2017-2018-2 "Java program design" the first week to summarize the learning contents of teaching materials (a) the status of JavaJava is an object-oriented programming, and involves the network, multithreading and other important basic knowledge, is a very good object-oriented language.(ii) Features of JavaSimple Object-oriented platform independent multithreading dynamic(c) Three major platforms of
20165101 Liu Tiano 2017-2018-2 "java program design" The 1th Week study summary textbook Learning content Summary
The status of Java
Features of Java
Installing the JDK
Java Application Development Steps
Anti-compilation
Install Git
Using Git to host code in the Code cloud
Problems in teaching materials learning and the solving process
Question
non-daemon thread, and the thread must set itself as a daemon before running. You can call Voidsetdaemon (Boolean on) to set yourself as a daemon thread. When all non-daemon threads run at the end, the daemon thread must end.Problems in teaching materials learning and the solving process
Question 1: What is a time slice?Problem 1 Solution: Through Baidu query, the time slice that the CPU allocates to e
20165217 2017-2018-2 "Java program design" Fifth week study summary textbook study summaryUnite 7
Inner class: Java supports declaring another class within a class, such that a class is called an inner class, and a class containing an inner class is called an outer class of an inner one.
Outer-Nested class: A class that contains an inner class, called an outer-nested class of an inner class.
Anonymo
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.