Original link: http://blog.csdn.net/u013045971/article/details/53433874What are annotationsAnnotation (note) Is that Java provides a way and a way for an element in a meta-program to correlate any information with any metadata (metadata). Annotion
Introduction:
PHP5 adds a new feature: Reflection. This function enables phper to reverse-engineer class, interface, function, method and extension. With PHP code, you can obtain all the information of an object and interact with it.What is
Problem:
Can I know the attributes and methods of a Java class at runtime? Can I call any of its methods?
The answer is yes. Java provides a reflection mechanism for implementation.
Directory
What is the reflection mechanism of Java?
Address: http://www.ibm.com/developerworks/cn/java/j-lo-classloader/index.html
Classloaders are an innovative Java language and an important reason for the popularity of Java. It enables Java classes to be dynamically loaded to JavaVirtual Machine
What is annotation ):
Annotation (annotation) is a kind of metadata provided by Java.ProgramThe element in associates any information with any metadata (metadata.Annotion (annotation) is an interface. The program can obtain the annotion object of
Basic concepts of AttributePeople around the world often ask, what is Attribute? What is its use? It seems that this program can run without it. In fact, in. Net, Attribute is a very important component. This article provides relevant materials for
In-depth PHP: Object-oriented, model, and practice (version 2nd)
Basic Information
Author: (US) Matt zandstraTranslator: Chen Hao; Wu sunbin; Hu DanSeries name: Turing programming SeriesPress: People's post and telecommunications PressISBN: 978711522
What is Annotation ):
Annotation (Annotation) is a way and method for Java to associate any information with any metadata (metadata) in elements of a metaprogram. Annotion (annotation) is an interface. The program can obtain the Annotion object of
Summary
Experienced Java developers know that it is important to write the tostring method. It is quite easy to record and debug objects that can be viewed in the form of human understanding, especially when dealing with distributed applications.
Reprint http://www.cnblogs.com/peida/archive/2013/04/23/3036035.htmlIn-depth understanding of Java: Annotations (Annotation) Basic conceptsWhat is an annotation (Annotation): Annotation (note) Is that Java provides a way and a way for an element in
Java reflection is the mechanism by which the runtime obtains class information and, in turn, dynamically constructs objects at run time, invokes object methods, and modifies object properties. Baidu Encyclopedia definition: "The Java reflection
Common Java face questionsQuestion: What happens if the main method is declared private?Answer: Can compile normally, but will prompt "Main method is not public" when run.Question: What is the difference between a reference and a pass in Java?Answer:
What is an annotation (Annotation): Annotation (note) Is that Java provides a way and a way for an element in a meta-program to correlate any information with any metadata (metadata). annotion (annotation) is an interface that a program can use to
The reflection mechanism is one of the dynamics of Java, and when it comes to dynamic, we need to understand dynamic language. So what is dynamic language?First, dynamic languageDynamic language means that a program can change its structure at run
The summary cannot say that Java Micro Edition developers cannot take advantage of the JUnit style test because the Java Micro Edition lacks the ability to reflect. In fact, the Java ME developer can still improve the development quality of the Java
What is an annotation (Annotation): Annotation (note) Is that Java provides a way and a way for an element in a meta-program to correlate any information with any metadata (metadata). annotion (annotation) is an interface that a program can use to
# Reflection
Is the Java API
# # What is Reflection
Reflection is the dynamic execution API provided by Java, which can dynamically load classes, dynamically create objects, dynamically access properties, and invoke methods dynamically.
Source url:http://www.cnblogs.com/peida/archive/2013/04/24/3036689.html
the meaning of the annotation:
Annotation (annotation) is Java provides a way and method of associating any information with any metadata (metadata) in the elements of a
What is Reflection (Reflection).
The main point is that the program can access, detect and modify its own state or behavior of a capability of Java reflection.
In the Java Runtime environment, for any class, you can tell what properties and
What is annotation (Annotation):
Annotation (annotation) is Java provides a way and method of associating any information with any metadata (metadata) in the elements of a program. annotion (annotation) is an interface in which a program can
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.