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
18/38
Third week
500/1000
3/7
The first week of Java learningThis week is the beginning of the new semester, but also the beginning of the new learning process, the first contact with Java This course, first of all, the thickness of the book to give me a kind of invisible pressure, this is doomed, this course will not be relaxed, at the same time a new way of learning: reverse classroom,
lines of code (new/cumulative)
Blog Volume (Add/accumulate)
Learning Time (new/cumulative)
Important Growth
Goal
5000 rows
30 Articles
400 hours
First week
37/37
1/1
10/10
Second week
399/436
1/2
12/22
Third week
764/1163
1/3
18/40
)Last week's summary of the wrong quiz
Wrong question 1: Which narrative is correct for the following procedure? AA.JVM thinks the application has a total of two threads.B.JVM that the application has only one main thread.C.JVM that the application has only one thread thread.D. The program has a compilation error and cannot be run.
Error 2: The basic state of the process is: new, running, blocked, dead. AA.trueB.false
Other (sentimen
program to move the value to another computer must solve the problem.
Question 2: The fifth chapter after the question Q: What is the purpose of the rewrite method?
Workaround: The P121 in the book is interpreted as: When a subclass overrides a method that can be inherited, it can write a new method body exactly as it intended to reflect the unique behavior of the overriding method. Overrides are explained in the role of rewriting: The rewrit
Dear friends, everyone, the old boy's second book, "Shell Programming Combat" is about to meet with everyone (expected early January 2017)!Please participate in the selection of the color of the cover, loudly tell the old boy, time until December 22 22:00, your choice will directly determine the book's cover design, thank you!Please comment out the book like 1, blue or 2, Orange! can also add reason!we can
many games you can remember after you graduate. What these games can bring to your future work life! And the school painstakingly for you to design the training program, teachers in the classroom to impart knowledge can think you bring what! Do not use the Chinese team in what international League to take the champion of the pretext to play the game is good, you think not, they can rely on the game to feed the family, and you! I did not say no to play games, just hope you can at the right time
the member variable inherited from the parent class, but not the same type, and the subclass hides the inherited member variable.Wrong question 2 and understanding: public void SomeMethod (int i) and public int somemethod () are method overloads.Wrong question 3 and understanding: Polymorphism refers to a method of a parent class when a quilt class overrides, it can produce its own behavior and functionality.SentimentThere are more new concepts of le
(enemy1.name); Print (ENEMY1.HP); Enemy1.name = "Mary"; Print (enemy1.name); Enemy enemy2 = new Enemy (); Enemy2.name = "small Two"; Print (Enemy1.name + "-" + enemy2.name); Enemy1. Move (); Enemy2. Move (); }} The field of class Enemy {public string name;//public can access public int hp through the object ; public void Move () { Debug.Log (name + "Moving"); } public vo
characteristics that have hierarchies and subclasses that inherit the domain and methods of the parent class. Four advantages: The reusability of the ① code ② can easily customize the domain and methods of the subclass ③ parent class to be used for subclasses. ④ makes designing applications easier.For an existing class called a superclass, a base class, or a parent class. The new class is called a subclass, a derived class, or a child class. In gener
number of elements.10. The length of the array, A,length = N, is the number of elements of array A.11. Operators and expressions are similar to C-language useCode Hosting(run result of statistics.sh script)This week's Code projectOther (sentiment, thinking, etc., optional)This week's knowledge made me and C language content together, found that particularly good understanding, just changed a framework. You have to keep trying!Learning progress Bar
lines of code (
parameters is those that appear in the method hea Der.A. TrueB. FalseSummary: The formal parameter is inside the method head, the argument is the parameter inside the method.9.Assume The class Bird has a static methodfly (). If B is a Bird, then to invoke fly, you could do Bird.fly ();.A. TrueB. FalseSummary: Static methods are all shared.10.The goal of testing is toA. Ensure the software has no errorsB. Find syntax errorsC. Find logical AND Run-time errorsD. Evaluate how well the software meet
; int fib[]=new int[m]; for(n=0;n
The code has the following problems:
The class name does not match the naming convention;
Sentence structure is not easy to read
Experiment
Three, agile development and XP practice-3 experimental content
Refer to Http://www.cnblogs.com/rocedu/p/6683948.html to complete the learning of Java cryptography related content in pairs, combining refactoring, git,
the database.
Use setAutoCommit(booean b) the method to turn off autocommit mode, that is, to close the SQL statement immediately effective
The SQL statement in the transaction does not take effect immediately until the Connection object con calls the commit () method
You must call the rollback () method to undo the operation of the transaction when processing a transactional failure
(b) Code statistics(iii) test error last week (iv) Progress of study
is denied, the latest commit of the current branch is behind its corresponding remote branch", as follows
!Workaround:(1)$ git fetch origin!(2) Ctrl+x(3)$ git push origin masterReference: Update is rejected because the latest commit of your current branch is behind its corresponding remote branch
This week's test topic is not deep understanding of the daemon thread, and then found on the Internet to find information about the Guardian thread.
(1) Converting a thread to a daem
20165218 2017-2018-1 "Java Program Design" 8th Week study Summary Textbook Learning summary Chapter 12th Java multithreading mechanism threads in Java
a computer can execute only one thread at any given time , and a multithreaded mechanism is a way for a Java virtual machine to quickly switch threads and make them take turns
ThreadThe object representing the class and its subclasses represents the thread
One life cycle of a thread has
the same folder and run.
Issue 2: How to compile when there are multiple Java source files
Problem 3 Solution: Try compiling under the Linux system, view the directory with tree and draw a conclusion. Just compile the main class Java source file once.
Problems in code debugging and the resolution process
Issue 1: When there are multiple Java source files, you cannot compile using javac-d bin Src/***.java.
Problem 1 Solution: Javac ***.java directly in the src file, the
After 3 weeks of Java class Learning, from the teacher's content, I still have a lot of problems, in doing the problem always feel will do, but do not come out, the understanding of the program is not thorough. We've been studying this week. The definition of a class consists of two parts: a declaration and a class body, which consists of two parts: one defining an instance field (or a member variable), and two being a method definition. The definition object includes the object's declaration an
Moment of ReflectionJava Basic framework of learning, a variety of basic grammar points of learning,OO style programming basic ideas of learning and so we have done, this week's study we really went into the JAVA Another big PLATE: The graphical user interface. formerly in pythonthis week's JAVA Learning We also review the first chapter to the fourth chapter of the content quiz: I think I used in the previous JAVA Learning is not enough, the kn
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.