What do you understand by metaprogramming?

devquora
devquora

Posted On: Feb 22, 2018

 

Metaprogramming is the ability of adding new methods or variables to the classes dynamically at run time. You can add methods or variables whenever and wherever you want.  This is a very powerful ability. Be it the use of code production, unit tests, or anything in between, these capabilities increases the curiosity of the java developers. These are the programs that write or manipulate other programs. These are responsible for dynamic string execution. These help in exposing the internal of runtime engine to the programming codes through API’s. the meta object protocols make the program semantics explicit and extensible.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Java Grails Interview Questions

    What are the best practices to be followed while developing a grails application?

    Building an application using grails framework is quite easy. But, when building it the right way we need to follow the..

    Java Grails Interview Questions

    What do you mean by scaffolding? How do we use it?

    Scaffolding is used to generate some basic CRUD interfaces for a domain class. It includes the necessary views and some..

    Java Grails Interview Questions

    What is the use of bootstrap.groovy?

    Sometimes a situation occurs in which a particular task is to be carried out every time the application starts or stops..