, including arrays. Objects combine data and methods to encapsulate them in a class so that each object can implement its own characteristics and behavior. C + + allows functions and variables to be defined as global. In addition, the structure and union in C + + is removed in Java, eliminating unnecessary hassles.Four, stringC does not support string variables, using a null terminator in a C program to represent the end of a string, in
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
20165336 2016-2017-2 "Java program Design" 9th Week Study summary Textbook study summary1. URL class: The URL class is an important class in the java.net package, and the application that uses the URL to create the object is called the client program.2, a URL object usually contains the most basic three parts of information: protocol, address, resources.3, Uel construction method:public URL(String spec) thr
how to compile and run different types of programs, console programs, graphical application of their own applets . When you install the Java SDK, you first download the JDK, and then you set up the JDK, to explicitly install the location of the development package, set system variables, and save your own settings. You also install library source files and documents, write using command-line tools, and run Java
The Goblin strives to
In the 2017, the more you do, the more you don't feel like you're going to have the same kind of a satanic effort. This year in the technical thinking and practice of more, but also bold attempt to do cross-role cross-functional architecture. Also a bit of what all want to do the impulse, so instead some things do not do, do not do fine.
Primary Awareness Programming
This year did not spend much time in writing code above, but C
20165217 2017-2018-2 "Java Program Design" 8th Week study summary Textbook study summary
Process-to-thread relationships
Multi-threaded operation mechanism
Four states of a thread: new, running, Interrupted, dead
Use the thread class or subclass to create the characteristics of a threading object
Common Methods for threading:The start () thread calls the method to start the thread;
20165301 2017-2018-2 "Java program design" Fifth week study summary textbook Learning content Summary seventh: Inner class and Exception class
Inner class
Defining another class in one class
Non-intrinsic class is not a static class
Anonymous class
A subclass removes the class-declaration-body
Create an object with a subclass of bank (anonymous class)new Bank(){ 匿名类的类体 }
Ano
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.
20165301 2017-2018-2 "Java Program design" Seventh week study summary textbook Learning content Summary 11th: JDBC and MySQL Database
MySQL Database management system
Start the MySQL database server
A command-line window that directly shuts down MySQL does not shut down the MySQL database server and shuts down the MySQL Database manager using the Task manager provided by the operating system.
Modi
2017-2018-1 Java Experimental Station sprint DAY07
Tasks completed by individual members today
Group members
Work Today
Complete Progress
Zhang Yiqi
Write a blog, do the summary
100%
Qili
Partial button picture, PS for button picture
100%
Zhang Haolin
Help to complete the team blog, th
2017-2018-1 Java Experimental Station sprint DAY04
Tasks completed by individual members today
Group members
Work Today
Complete Progress
Zhang Yiqi
Write a blog, do the summary
100%
Qili
Find the background music
100%
Zhang Haolin
Game operating Instructions
100%
Z
2017-2018-1 Java Experimental Station sprint DAY05
Tasks completed by individual members today
Group members
Work Today
Complete Progress
Zhang Yiqi
Carry out the summary
100%
Qili
Find the button music
100%
Zhang Haolin
Write a blog
100%
Zhang Tai Yuk
Game Sta
2017-2018-1 Java Experimental Station sprint DAY01
Tasks claimed by individual members in the Alpha phase
Group members
Division
Task Volume
Zhang Yiqi
Write blog, post-marketing, marketing, chores, the coordination of various functions
Qili
Provide a promotional map, provide the game some windows (login, tip
20165201 2017-2018-2 "Java Program Design" 8th Week study summary textbook Study content summary 12th Chapter
Connect to database: Connection getConnection(java.lang.String, java.lang.String, java.lang.String) ,Connection getConnection(java.lang.String)
Criteria and sort query:
where child statement
Sort
order by 子语句对记录进行排序 order by
Updateupdate 表 set 字段 = 新值 where
20165219 2017-2018-2 "Java Program Design" 6th Week study summary textbook Learning content Summary Eighth ChapterStringClassCommon methodspublic int length()To find the string lengthpublic boolean equals(String s)Compares character sequences of two stringspublic boolean startsWith(String s)To public boolean endsWith(String s) determine whether the prefix of the two-character sequence is the samepublic int
Tag: Parameter log RTP class program to get the console position call20165201 2017-2018-2 "Java Program Design" 6th Week study summary textbook Study content summary eighth chapterStringClass can effectively handle character sequence information, and its common methods are:
public int length()You can count the String length of a character sequence for an objectFor example: String a = "rocedu"; int n
20165318 2017-2018-2 "Java program design" the first week of learning summarize the contents of learning SummaryThe first chapter is a brief introduction to the Java platform, and explains how to build a Java environment.Introduction to the Java platformThrough textbooks, qu
this problem is: The main class file you have created is not placed under the compiler default access path, The workaround is to refactor the program's compilation path.A shallow copy and a deep copy are known after class through access to information. A shallow copy is a bitwise copy of an object that creates a new object with an exact copy of the original object's property values. If the property is a base type, the copy is the value of the base type, and if the property is a memory address (
different, C input and output needs to import IO (standard input and output) function, Implementing the input in Java requires importing the Java.util package first, because the scanner class that constructs a scanner object is defined in the package, the output is not required, and the output only needs to call SYSTEM.OUT.PRINTLN.
There is a special class in Java that can be used with Java.math: BigInte
results are run. As a result, the Hello World program was changed seven or eight times, constantly running, analyzing the running results, and finally thoroughly understand why the main method is defined as such. Originally because the Java virtual run, the interface that is found is the main method, if there is no such method, is not running the program.All static members are initialized when the program is loaded and allocated to a static storage a
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.