Thursday, July 11, 2013

Java - Synthetic Keyword

Reading on this post - Worst -- and best -- IT interview questions. It stated a Favorite IT interview question - "Tell me about Java's 'synthetic' keyword." Hmmm.. I myself have no idea what is a synthetic keyword

After some search in Google, to sum up, Synthetic keyword is an attribute generated by the Java compiler and that section of code is not suppose to be appear in the actual code. Thus, a normal programmer will not be able to use this keyword.

In JVM Documentation 4.7.8, it said "A class member that does not appear in the source code must be marked using a Synthetic attribute"

1 comment:

  1. The blog is absolutely fantastic. Lots of great information and inspiration, both of which we all need. Thanks.

    PIC Scheme Singapore


Oracle - Reclaim disk space

Oracle does not release disk space even if you had delete the data or tablespace. If you have enterprise manager, you should use it to  rec...