Only By Using the Sealed Class or by creating the Private Constructor of it.
Loading
Only By Using the Sealed Class or by creating the Private Constructor of it.
1)By using Static Class
2)By using Sealed Class.
above both classes cannot be Inherited
i) make it sealed (C#)
ii) Declare the constructor as private.