What is introspection ?

Reply Tue 12 Nov, 2013 01:18 pm
Introspection is related to Java Beans but what is the actual concept of it please elaborate.
  • Topic Stats
  • Top Replies
  • Link to this Topic
Type: Question • Score: 0 • Views: 1,546 • Replies: 2
No top replies

Reply Tue 12 Nov, 2013 01:30 pm
Introspection is the ability to look at the attributes of a Java Class (including a bean) at run time.

Using introspection, I can write a method that will take any Object (of any Class), and list all of its fields and methods.
0 Replies
Reply Fri 15 Nov, 2013 04:57 am
Reflection is commonly used by programs which require the ability to examine or modify the runtime behavior of applications running in the Java virtual machine. This is a relatively advanced feature and should be used only by developers who have a strong grasp of the fundamentals of the language. With that caveat in mind, reflection is a powerful technique and can enable applications to perform operations which would otherwise be impossible.
0 Replies

Related Topics

Clone of Micosoft Office - Question by Advocate
Do You Turn Off Your Computer at Night? - Discussion by Phoenix32890
The "Death" of the Computer Mouse - Discussion by Phoenix32890
Windows 10... - Discussion by Region Philbis
Surface Pro 3: What do you think? - Question by neologist
Windows 8 tips thread - Discussion by Wilso
GOOGLE CHROME - Question by Setanta
.Net and Firefox... - Discussion by gungasnake
Hacking a computer and remote access - Discussion by trying2learn
  1. Forums
  2. » What is introspection ?
Copyright © 2021 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 0.04 seconds on 10/25/2021 at 03:19:10