Object orientedObject-oriented is a way of thinking, relative to process-oriented.Process-oriented attention to every detail of action execution in a process-do it yourselfObject-oriented focus on finding this object, so long as the object is found,
First, run-time data region1.1 Program CountersRecords the address of the virtual machine bytecode instruction being executed (empty if the local method is being executed).1.2 Java virtual Machine stackEach Java method executes and creates a stack
Tag: CTI Item Word uses the Execute SYS setting ACK tooIn Java, how do you set the upper bound of a two-dimensional array?In the following example, use arrayname.length to determine the upper bound (number of elements) of a two-dimensional
Theoretical knowledge content :1. Identifiers:Identifiers consist of letters, underscores, dollar signs, and numbers, and the first symbol cannot be a number.Legal identifiers: Hello, $1234, program name, www_123Identifiers can be used as: class
Class loading mechanismClasses are loaded dynamically during the first use of the runtime, not at compile time. Because if it is loaded at compile time, it consumes a lot of memory.Life cycle of Class 1.1The following 7 phases are included:
Part I: Theoretical Knowledge learning SectionJava's BASIC program design structureA simple Java applicationannotation data type variable operator string input output control flow large Data array3.1 Basic knowledgeIdentifierIdentifiers consist of
Part I: Theoretical Knowledge learning Section3.1 identifiers: Consists of letters, underscores, dollar signs, and numbers, and the first symbol cannot be a number and can be used as: class name, variable name, method name, array name, file name,
What is Hashtable?
Hashtable is a synchronous implementation of map interface based on hash table
The key of the element in the Hashtable is unique, and the value can be repeated
The key and value of the elements in the Hashtable
What is a Java virtual machine?Java virtual machines, literally, are like some kind of machine, but the Java virtual machine is called "virtual" because it is an abstract computer defined by a specification, so when we say Java Virtual machine, it
What is a Java virtual machine?Java virtual machines, literally, are like some kind of machine, but the Java virtual machine is called "virtual" because it is an abstract computer defined by a specification, so when we say Java Virtual machine, it
I. What is a singleton modeIn this case, we should consider the design of the singleton mode only if you want to keep one object at a time and you do not want to have more objects.The primary function of Singleton mode is to ensure that only one
Some basic concepts between objects and references.Beginner Java, for a long time, always feel that the basic concept is very vague. Later, in many Java books, the references to objects and objects are confused. However, if I do not know the object
Li Ruihong 201771010111"Object-oriented programming (java)" First week study summaryPart I: Course preparation sectionFill in the Course Learning Platform Registration account,
Platform name
Registered account
I study number " Object-oriented programming (java)" the first week of learning summaryPart I: Course preparation sectionFill out the course study Platform Registration account,
Platform Name
Registered Account
Blog
1. Processes and ThreadsA program is a process, and multiple tasks in a program are called threads.Process is the basic unit of resource allocation and the basic unit of dispatching operation.A thread is the smallest unit of execution in a process,
ABA problems caused by CAS (Compare and Swap)Problem description
In multi-threaded situations, each thread uses CAS operations to modify data A to B, but we only want one thread to modify the data correctly and modify it only once. When
Prototype mode: Create a new object through the prototype instance, no longer need to care about the type of the instance itself, as long as the method of cloning itself, you can use this method to obtain new objects, without having to go through
List collection and set collection, first look at the list collection.Features of the list collection storage elements:1. Ordered (the elements in the list set have subscript): What is the deposit in, what is it?2. RepeatableCan be combined with 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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service