What are Bridge and Synthetic methods in Java?
- by kunjaan
Returns : true if and only if this method is a bridge method as defined by the Java Language Specification.
Since: 1.5
Returns: true if and only if this method is a synthetic method as defined by the Java Language Specification.
Since: 1.5
I saw these in my Reflection doc. I saw couple of docs but I couldn't fully understand the usage of them. Could Somebody expalin these methods for a layperson?