Java reflection mechanism in-depth explanation, java reflection explanation1. Concepts
Reflection maps various Java components into corresponding Java classes.
The Class construction method is private, which is created by JVM.
Reflection is a feature of the java language. It
Java basics and java Basics
This is a full set of Java knowledge I have prepared in my previous lectures. It is applicable to beginners and intermediate and advanced students. You can download it. I think it is more systematic and comprehensive, it can be up to 90% of the learning materials on the market. I hate the casually written information and the people who
static final member variables. The implementation of an interface is similar to that of a subclass, except that the implementation class cannot inherit behaviors from the interface definition. When a class implements a special interface, it defines all the methods of this interface. Then, you can call the interface method on any object of the class that implements this interface. Because there is an abstract class, it allows the interface name as the type of the referenced variable. The referen
This is the fifth article in the series "Become a Java GC expert". In the first in-depth Java garbage collection mechanism, we have learned the different GC algorithm flow, GC working principle, the new generation (young Generation) and the old generation (older Generation) concept. You should be aware of the 5 GC types in JDK7 and the impact of various types on your application.In the second how to monitor
mainly to be considered from the point of view of system stability. Windows 32 operating system default kernel space and user space is 1:1, that is, 2G kernel space, 2G memory space, 32-bit Linux system in the default scale is 1:3, that is, 1G kernel space, 3G memory space.4. Word lengthCPU is one of the main technical indicators, refers to the CPU can be processed in parallel binary bits (bit). Typically, a CPU with a 8-bit cpu,32 bit of 8 bits of data is processed to handle binary data with a
Java. util. Date: indicates the operation time:
Java. util. Date d1 = new java. util. Date (); // a time is created based on the current time.
Of course, you can also use another method: long times =System. currenttimemillis ();
Java. util. Date D2 = new date (times );
Java
Java (5)-Java I/O technology, java (advanced)
In the program, in order to permanently Save the created data, you need to save it in the disk file so that they can be used in other programs. Java I/O technology can save data to text files, binary files, and even ZIP compressed files to meet the requirement of permanent
Java learning notes -- java introduction and java learning notes Introduction
Java open-source language
C Language
IOS closed-source system is developed using object-C Language
Application category (from type category)
C/S (Client Server): non-networked software also belongs to C/S
Browser Server (B/S): WebQQ,
In java learning, anonymous functions, constructor methods, constructor code blocks, calling constructor methods in constructor methods (small records in java learning), and java Constructor
In java learning, calling constructor methods in anonymous functions, constructor methods, constructor code blocks, and construct
After learning the APIs for Java NIO and io, a problem immediately poured into my mind:When should I use IO and when do I use nio? In this article, i'll try to clearly parse the differences between Java NiO and io, their usage scenarios, and how they affect your code DESIGN.The main differences between Java NiO and IOThe following table summarizes the main differ
First we are on the desktop, start-> run-> type cmd Enter, enter the Windows command line. Enter the picture as shown:
The current default directory is the Administrator folder under the C Disk Users folder. Generally speaking, we are accustomed to changing the current directory. Because Windows has a disk partition, to jump to another disk, such as e disk, there are several ways:
1. Input command: pushd path (This command can set the current directory to any existing path that you want)
2,
For beginners of java, you must read: a shortcut to Java learning-general Linux technology-Linux programming and kernel information. For details, see the following. [Introduction] This article provides a lot of learning resources for beginners in java. It can be said that it is a shortcut to Java learning! Let's take a
Java Learning (11), object-oriented programming (3) Encapsulation-package, java Object-Oriented Programming
Significance of packaging:
① The standard Java library is composed of a series of packages, including java. lang, java. util, and java.net. The standard
1. Introduction to the Java language Java is an object-oriented programming language that can compose cross-platform applications with exceptional versatility, efficiency, platform portability, and security. Sun's interpretation of the Java programming language is that the Java programming language is a simple, object-
Java programming -- Sun Xin Java has no difficulty lesson11 Applet
Highlights of this section:
1. Applet programming: describes in detail the lifecycle of the applet and the settings of the child.
2. the applet obtains information from the webpage, and communicates with the browser.
3. the applet updates the display principle, uses the applet to make the animation program, and optimizes the animation progra
Java garbage collection mechanism and Memory leakage, java garbage collection Leakage
1. Introduction to Java Memory leakage
First, let's clarify the concept of Memory leakage: Memory leakage refers to the Dynamic Allocation of memory during the program running, but the memory is not released at the end of the program, resulting in the unavailability of this memo
How to learn Java, this is a lot of newbies often ask me the question, now I briefly describe the next Java beginner to the job to learn some things:The first thing to understand is that the Java system is designed in three ways: J2se,j2ee,j2me (Kjava). J2se,java 2 Platform Standard Edition, we often talk about the JDK
1. JNA Brief IntroductionLet's start with the JNI (Java Native Interface), which has the experience of communicating between different languages, which allows Java code to interact with code written in other languages, especially C/C + +, as long as the calling convention is adhered to. First look at the JNI process of calling C + +, note that the program is written from bottom to top.The visible steps are
article author: Tyan
Blog: noahsnail.com 1. What is generics
Java generics (generics) is a new feature introduced in JDK 5, which allows you to use type parameters when defining classes and interfaces (type parameter), which are also called parameterized types (parameterized Type) or parametric polymorphism (parametric polymorphism). The main application of generics is in the new collection class framework in JDK 5. The application of
Java learning notes (entry) _ installation and configuration of java, learning notes _ java
I have been learning Java for a long time, but I always feel that the foundation is not very good. Sometimes I cannot start with some common problems, and some of my problems are also displayed. Therefore, I plan to write
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.