The Java Language Foundation consists of:(1) Keywords: words that are given special meaning, main is not a keyword(2) Identifier: Some of the custom name in the program, the custom name, consists of 26 letter case, the number 0-9,_$, the number can not start, can not use keywords, Java is strictly case-sensitive, in the name, in order to improve the reading, to try to make sense. Package name, all letters a
listener object//code that needs to be synchronized}Synchronization method:synchronized method ....... {}can be re-entered lock:Reentrantlockclass a{private Final Reentrantlock lock = new Reentrantlock ();Public Void Show () {Lock.lock ();//Locktry{//may appear out of sync code}finally{Lock.unlock ();//whether lock}}}thread communication: Relationship between producer and consumerdeadlock: Develop traditional Chinese medicine to avoid deadlockIn the written interview, the company that installed
live object can be found. For each reference that is discovered, you must trace the object it references, and then the reference that this object contains. Know that the networks that originate from the references to stacks and static stores are all accessed. Objects that are not accessed are objects that need to be processed by the garbage collection mechanism. 3) Java garbage collection mechanism:Stop replication: pauses the program's run, then co
memory to another.B. The second problem is that the replication process itself is handled, and when the program runs stably, it only produces very few garbage objects that need to be recycled, and if the garbage collector replicates frequently the surviving objects are very low performance.the workaround for the JVM is to use a new garbage collection algorithm--tag Cleanup (mark-and-sweep). generally speaking, the tag cleanup algorithm is slower in normal usage scenarios, but it is very efficie
) System variable path path specifies an. exe fileSystem variable Classpath path Specifies the. class fileAfter you configure a system variable, you can execute it in any directory of CMD, the file you want to execute(9) CMD command line executable all. exe file------(parameter value setting for desktop shortcut)(10) When defining the class name, the first letter of each word must be capitalized,public static void Main (string[] args) {} Javac.exe compile error codes (such as Mian) without error
20165226 2017-2018-4 "Java Program Design" 8th Week study summary textbook Study content summary 12th Chapter
There are three ways to create threads, namely:
Inherit the thread class to create threads that you can use if you want to get the current thread object: Thread.currentThread() ; If you want to return the name of a thread, you can use
transmitted data and send packet data to the target computer or network. Transport layer mainly makes the network program communicate, in the network communication, can adopt the TCP protocol, also can adopt the UDP protocol. The application layer is responsible for the protocol of the application, such as HTTP protocol, FTP protocol, etc.20. Describe your understanding of IP address. To enable computers in your network to communicate, you must specify an identification number for each computer
Enterprise ordering system
Java second kill system solution optimization-high performance concurrency combat
Spring Boot technology stack Blog enterprise back and forth
Java SSM Rapid development of online education platform of imitation mu-net
Spring boot with front and back end progressive development Enterprise Blog system
10 Projects Prac
As a Java programmer, the most painful thing is to choose a range too wide, can read too many books, often easily confused. I'd like to pick out some of the technical books I've read and recommend them to you in the order of study, especially to the Java programmers who want to keep improving their skills.
First, Java
20145239 Java Programming 10th Week study summary Textbook Learning content summary Java network programming
Network programmingNetwork programming is the transfer of data between two or more than two devices, such as a computer.
Network overview1. Computer network overview(1) Routers and switches constitute the core computer network, the computer is only t
20145239 "Java Program design" The 2nd week study Summary textbook Learning content SummaryThe third chapter mainly introduces the basic syntax of Java language.We are asked to recognize types and variables, to learn the basic use of operators, to understand type conversions, and to apply basic process syntax. of which--One, constant basic type: integer: Short in
201621123021 Java Programming The second week of study summary 1. Summary of this week's study
This week we learned about the basic data types of Java and their differences from the C language data types.
Know how Java is created and applied to arrays.
Learn
ObjectiveThe second week is a formal study of Java programming. Before the Java is a blank, now is the first clue, know the basic Java program start, more than one class to run which, which is output printing statements and so on.The Java code writer I'm using now is Atom an
20165318 2017-2018-2 "Java Programming" Eighth Week study summaryDirectory
Problems encountered in learning process and summary
Summary of learning contents of textbook
The 12th Chapter Java multithreading mechanism
Code Hosting
Code statistics
Problems encountered in learning process and summary
Q1: When runnin
20165235 Qi Ying 2018-4 Java Programming Seventh Week study summary textbook learning content summary MySQL data management system
MySQL数据管理系统, short MySQL , is the world's popular data management system.
MySQLis a network database management system that enables a remote computer to access the database it manages.
Windows MySQL after downloading, go to Windows the command line, enter MySQL the direc
20165318 2017-2018-2 "Java program design" the second week to summarize the learning content of learning materialsThis week, we learned the contents of chapters II and III, and mastered the knowledge of basic data types, arrays, operators, expressions, and statements in Java.Summarizing the first week's learning experience, during this week's study, I read the textbook carefully and found a lot of small det
writing a program in Java and running a program and running it with the C language, and the resulting intermediate file and target file?Java from. Java to. Class,c from. 0 to. exeQ6. What are the 3 application versions of the Java language? What's the relationship between versions?
20172320 2017-2018-2 "Java Program Design" Tenth Week Study summary textbook study summary1. A collection is an object, similar to a repository that holds other objects-The isomorphism of the set means that this collection holds all objects of the same type, and heterogeneous means that objects of various types can be saved2. Abstract data type (ADT) is a collect
Directory1. Why should you study Java class loading mechanism?2. Understand the class loading mechanism, and what role do we have in project development?3. Load implementation details.4. SummaryFirst, why drug research Java class loading mechanismJava class loading mechanism, so that we can use the custom class loader, in-depth understanding, to understand the co
20165103 2017-2018-2 "Java Program Design" 3rd week Study summary Textbook study summary
Learn about several stages of programming language development: for machine language (e.g. assembly language)-for procedural languages (e.g. C)-object oriented language (e.g. Java)
The object-oriented language has the
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.