Support Me ��


SUBSCRIBE NOW

Reflection API in JAVA 1


Reflection API 1

Reflection means ability of a software to analyze itself. In Java, Reflection API provides facility to analyze and change runtime behaviour of a Class, at runtime.

For example, using reflection at the runtime you can determine what method, field, constructor or modifers a class supports

What is reflect package ??

java.lang.reflect package encapsulates several important interfaces and classes. These classes and interface define methods which are used for reflection.

Some Important Classes of java.lang.reflect package

Class What it does ?
Arrayallow you to dynamically create and manipulate arrays.
Constructorgives information about constructor of a class.
Fieldprovide information about field.
Methodprovide information about method.
Modifierprovide information about class and member access modifier.
Proxysupports dynamic proxy classes.


Apart from these classes java.lang.Class is another very important class used in Reflection API.

The java.lang.Class class performs mainly two tasks:

1.provides methods to get the metadata of a class at run time.

2.provides methods to examine and change the run time behavior of a class.

Uses of Reflection

1. Developing IDE (Integrated Development Environment) e.g. Eclipse, MyEclipse, NetBeans etc.

2. Debugging and Test tools.

3. Loading drivers and providing dynamic information.

Uses of Reflection

1. Low performance

2. Security risk

3. Violation of Oops concept.

 

Dinesh Kumar S is a 23-year-old System Administrator who enjoys playing games, listening to music and learning new technology. He is friendly and generous, but can also be very lazy and crazy.

Share this

Backlinks

Website Design Company in Coimbatore
Website Design Company in Tamil nadu
Website Design Company in Karur
Website Design Company in Erode
Website Design Company in ooty
Website Design Company in theni
Website Design Company in thoothukudi
Website Design Company in Chennai
Website Design Company in Sathy
Website Design Company in Coimbatore Tamilnadu
Cheap Website Design Company in Coimbatore
Adsense Website Design Company in Coimbatore
ecommerce Website Design Company in Coimbatore
school Website Design Company in Coimbatore
Academy Website Design Company in Coimbatore
Test Website Design Company in Coimbatore
Best Website Design Company in Coimbatore
Adsense Website Design Company in Coimbatore
Adsense Website Design Company in Tamil nadu
Adsense Website Design Company in Karur
Adsense Website Design Company in Erode
Adsense Website Design Company in ooty
Adsense Website Design Company in theni
Adsense Website Design Company in thoothukudi
Adsense Website Design Company in Chennai
Adsense Website Design Company in Sathy
Free SEO Tools online
Free SEO Tools online Website
Free SEO Tools online Plagiarism
Free SEO Tools online article rewriter tool
Free SEO Tools online article reading and writing criticism
Free SEO Tools online seo backlink
Free SEO Tools online Free backlink maker
Free SEO Tools online seo backlink strategy
Free SEO Tools online content writting
360 help SEO Tools online Plagiarism checker
360 help SEO Tools online seo backlink
360 help SEO Tools online Free backlink maker
360 help SEO Tools online content writting
360 help SEO Tools online article rewriter tool
360 help SEO Tools
360 help SEO Tools India
360 help SEO Tools Tamil
360 help SEO Tools website