Loading

The class which is declared using abstract keyword is an abstract class. An abstract class cannot be initialized it can be only be inherited by another class. Abstract consist of abstract methods and consists of an instance method.

Constants are immutable values whose values are known at run time and cannot be changed in whole life time of program.

The class which is decorated with the static keyword is a static class. A static class cannot be initialized using the new keyword. A static class can only contain static members instance members are not allowed in static class.
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegisterMembers onlyWrite an article and earn +1,000 SHARP when it is approved.
Write an article