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
100/100
2/2
10/20
Planned study time: 20 hours
Actual learning time: 10 hours
Improved situati
Recently, we have been working on a project using VC6. Some of our brothers have reflected that they do not quite understand the differences between pointers and references. Currently, developers are familiar with Java, C #, and other languages, which is farther and farther away from the underlying operating system, so that most people have forgotten some things in C/C ++.Speaking of pointers, anyone who has learned C language is no stranger. This is
001-Phase lambda expression002-phase stream combined with functional programmingMap of phase 003 Map methodPhase 004 Filter Method filteringPhase 005 Reduce Method aggregation006-Period List dynamic add elementIssue 007 convert list to array008-Period set--non-repeating element collection009-Period Queue basic operationsAddition and deletion of the 010 issue listThe Get method for the 011-period list traversalIterator mode of traversal of 012-period List013-Period Judgment list element existence
Through the initial study and online information query know that the Java language is a multi-purpose language, concurrent language, class-based, object-oriented language. Java is a multi-functional high-level language, the Java language was first known as Oak, its author is James Gosling.ed Frank, Patrick Naughton, Jonathan Payne, Chris Warth added a number of features to the Java language for the next few years, making it possible to develop small programs for Web pages (applets), applications
after continuous learning and deepening of Java, we've got some basics of java. subsequentlyThis week studied the handling of anomalies. Exceptions in the program, which generally become out of the box, can be understoodis not normal, other programming languages also have such a situation, Java also exists insideFor such an architecture, we need to be clear that exceptions and errors are not a concept.The T
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 URL object with a stringURL url=
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)
Learnin
. DrawIcon (x, y, M_hicon);}Else{Cdialog::onpaint ();}}The system calls the obtain the cursor to display while the user dragsthe minimized window.Hcursor Cfffdlg::onquerydragicon (){Return (hcursor) M_hicon;}void Cfffdlg::onok (){Todo:add Extra Validation hereString D;String d1,d2;D1= "C:\\ly_cstar.dll";D2= "C:\\1.bmp";Hinstancehint =:: LoadLibrary (D1);//load the DLL we just builtif (Hint){typedef void (Winapi*add) (CString);//function pointer typeADD B = NULL;b = (add) GetProcAddress (Hint, "A
(*argv); 6 }And this program does not prompt for warnings.We know that during a function call, the argument is passed to the formal parameter, which is essentially the value of the argument given to the parameter.In the ANSI C standard, the following constraints are proposed:
To make the above assignment legal, one of the following conditions must be met:
Two operands are pointers to compatible types that have qualifiers or no qualifiers, and the type that the left pointer points
20165318 2017-2018-2 "Java Programming" Nineth Week study SummaryDirectory
Problems encountered in learning process and summary
Summary of learning contents of textbook
13th Chapter Java Network Programming
Code Hosting
Code statistics
Problems encountered in learning process and summary
Q1: Run the textbook Exa
problems, there are many things to see the know, do not have to find a professional solution as before, but also to find a person do not know the answer to the wrong.
The first one months every night to practice cheerleading, and the class of students less than a lot of study time, now finally end, must step up the pace, but also the footsteps of teachers and classmates.
Learning progress Bar
lines of code (new/cumulativ
. ' Hello 'C. " World "D. ' Hello ', "World"reviewed the classmates blog and codeStudy No. 1Study No. 2Study No. 3Study No. 4Study No. 5Learning progress Bar
Number of lines of code (new/accumulated)
Blog Volume ( new/accumulated
learning Time (new/cumulative)
Goal
5000 rows
30 Articles
400 hours
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
week's summary of the test wrong question3. The following (AB) method will cause the thread to go into a blocking state? A.thread.sleep () b.wait () c.notify () D.interrupt () 5,the Interrupt () method of the calling thread throws the (CD) exception object? A.illegalstateexceptionb.runtimeexceptionc.interruptedexceptiond.securityexception 12,The following statement about the state of the thread and the life cycle is wrong (BC)A. Do not let the thread call the start () method again until the lin
This week through the third chapter of the study, found that they lack of place. A teacher's assessment of a class can help him find out how much he has mastered the knowledge and keep himself moving forward.The Java and C languages are basically similar in algorithm but somewhat different in syntax. There are some grammatical problems when writing a program, and the output of that piece sometimes does not know which one to choose. The opening and wri
(sentiment, thinking, etc., optional)Emmm, homework dragged to Sunday to write, found a lot of things need to accumulate, wrote a day to find a lot of problems are not the first time to solve, next Monday will be handed in the homework as soon as possibleLearning progress Bar
Code lines (new/cumulative)
Blog volume (new/cumulative)
Learning Time (
20165205 2017-2018-2 "Java program design" Eighth Week study summary textbook study summary
Processes and Threads
A thread is not a process, but behaves like a process, and a thread is a smaller execution unit than a process.
Unlike processes, threading interrupts and restores can be more cost-efficient.
Threads in Java
A major feature of the Java language is the built-in support for multithreading.
thread state and l
time flies really fast, not enough to enjoy a big and easy to live in the twinkling of an eye we have completed from the school to learn younger sister to seniors learn elder sister's metamorphosis. Compared to the big moment Mengmengdongdong us, the sophomore we seem to have grown a lot. The road of life is like a lot of nodes, each step is a node. For me, this semester of Java is my new node, I hope I will work harder, with almost perfect performanc
20165327 2017-2018-2 "Java Program Design" 8th Week study Summary Teaching Contents Summary 12th chapter (a) Study contents summary of the textbook
A thread is a smaller execution unit than a process. A process can produce multiple threads during its execution.
The thread scheduler in the Java Virtual Machine (JVM) is responsible for managing threads, and in a system with time slices, each thread has the opportunity to gain the right to u
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.