What is the reflection in JAVA, and why is it useful?
I'm particularly interested in Java, but I assume the principles are the same in any language.
Reflection is an API and used to examine or modify the behavior of methods, classes, interfaces at runtime.
It gives us information about the class to which an object belongs and also tells us about the methods of that class which can be executed by using the object.
Usage of Reflection:
It's an Extensibility feature so it offers an application to use external, user-defined classes by creating instances of extensibility objects using their fully-qualified names.
They brake the abstractions and hence may change behavior with upgrades of the platform.
For more details and examples click here.
Certification in Digital Marketing |
Certification in Big Data Analytics |
Certification in Cloud & Devops |
Certification in Full Stack Web Development
Big Data and Data Science Master’s Course |
Data Science Architect Master’s Program |
Cloud and DevOps Architect Master’s Course |
Artificial Intelligence Engineer Master’s Course |
Microsoft Azure Certification Master’s Training
Data Science Course Online |
Big Data Hadoop Certification Training |
Machine Learning Course Online |
Artificial Intelligence Course and Training |
Salesforce Certification Training: Administrator and App Builder |
Tableau Training and Certification Course |
Python Data Science Course & Training |
Ethical Hacking Course |
Business Analyst Course |
Courses in Cyber Security
© COPYRIGHT 2011-2021 INTELLIPAAT.COM. ALL RIGHTS RESERVED.
Download Salary Trends Now !
Learn how professionals like you got up to 100% Salary Hike.