Knowledge that must be mastered in Java __java

Source: Internet
Author: User
What is object-oriented
* is a more consistent with our thinking of the habit of lazy people thought
* Can simplify the complex time
* To turn our executor into a conductor
* The role has changed
* What are the features of the object-oriented
* Object-oriented: encapsulation inheritance polymorphism
* Inheritance benefits and abuses
* Benefits: Improved code reusability improves code maintainability making relationships between classes and classes a prerequisite for polymorphism
* Disadvantages: The coupling of the class is enhanced
* Multi-state benefits and drawbacks
* What polymorphism: Polymorphism is the existence of many forms of things
* Polymorphism of the premise: to have an inheritance relationship, there is a method to override, to have a parent class reference to the Child class object
* Disadvantages are: Can not use the unique method of subclasses
* Benefits include: Improved code maintainability improves code reusability you can accept any subclass object as a formal argument
* What is an interface
* Interface from a broad perspective the rules provided externally are interfaces
* What is IO stream
* IO stream is used to handle data transfer between devices
* with input stream and output stream
* Divided into two byte stream and character streams
* What is a thread
* A thread is a path that a program executes, and a process can contain multiple threads
* What is multithreading
* Multithreading concurrent execution can improve the efficiency of the program can be completed at the same time multiple project work
* What is the Counting Machine network
* refers to different geographical location with independent functions of multiple computers and their external devices, connected by communication lines, in the network operating system,
* Network management software and network communication Protocol management and Protocol, the realization of resource sharing and information transmission of computer systems
* What is Network programming
* is used to achieve network interconnection between programs that do not run on the computer can exchange data
* What is Reflection
* Java reflection mechanism is in the running state, for any class can know all the properties and methods of this class
* Any one of its methods and properties can be invoked for any object
* This dynamically acquired information and the function of the method of dynamically invoking the object are called the reflection mechanism of Java speech
* To dissect a class you must first obtain the bytecode file object for the class
* And anatomy uses the methods in class classes, so get to an object that doesn't have a byte-code file corresponding to the class type.
* What is an enumeration
* refers to the value of variables listed in the value of the variable is limited to the list of worthy examples: a week only 7 days a year only 12 months, etc.
* Recall Single example design mode a singleton class is a class with only one instance
* So many instances are instances of a class with multiple instances, but not an infinite number, but a finite number of cases. This is the enumeration class
* How the JVM defaults to handling exceptions
* When the main method receives this question, there are two ways to handle it.
* The second treatment if you do not deal with the way it is only to the JVM calling the main method to handle
* The JVM has a default exception handling mechanism that tells the exception to handle it
* and print the exception's name exception's information exception's location on the console while the program stops running
* BigInteger
* He can get more than the integer range of data to run
* BigDecimal
* His role is to be able to store decimals more precisely
* What is the memory output stream
* is that the output stream can write data in memory and write the memory as a buffer to get all the data at once
* What is a thread pool
* Program startup A new thread cost is relatively high because it involves interacting with the operating system and using a thread pool can improve performance especially when a program of traditional Chinese medicine creates a large number of short-lived threads,
* More should consider the use of thread pool line Cheng each thread code ends and does not die but again the goods into the thread pool called idle state waiting for the next object to use the JDK5 built-in thread pool
* What is a thread group
* It can classify a batch of threads Java allows programs to control thread groups directly
* What is a computer
* Commonly known as computer is a kind of modern intelligent electronic equipment capable of processing massive data automatically according to the program
* Consisting of software and hardware that does not have any software installed on the computer known as bare metal common form of desktop counting machine notebook computer large counting machine
* What is the counting machine hardware
* The general name of each physical device consisting of electronic machinery and optoelectronic elements These physical devices constitute an organic whole to provide a material basis for the operation of the counting machine in accordance with the requirements of the system structure.
* What is the counting machine software
* is an essential thing for computers computer software enables the counting machine to complete the specific function counting machine according to the predetermined order. The software is divided into system software and application software according to its function.
* What is the Count machine voice
* is a kind of special voice for communicating information between people and computers.

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.