How to protect a class to be inherited


Answer : By adding a final keyword in before class name .

Example :
                                 Class final Class_name
                         {
Code will be here
}

Comments

Popular posts from this blog

Summer Fellowship with Stipend in India

Pure CSS Modal

Code for Google Translator for Website with Indian Languages