final, static
static class is used to when you don't need to instantiate the class. Like Math class, instantiating it is unnecessary.
Final class prevents extension of it.
static class is used to when you don't need to instantiate the class. Like Math class, instantiating it is unnecessary.
Final class prevents extension of it.