Sunday, February 3, 2019

What is the use of final modifier in class(java)

Final class cannot be overridden.Final class cannot be reused
final public class Sample{

}

No comments:

Post a Comment