Turkey and the Balkans TV Channels

News about 100+ TV channels

What is difference between static class and sealed class

Sealed classes:

  1. Can create instances, but cannot inherit
  2. Can contain static as well as nonstatic members.

 

Static classes:

  1. Can neither create their instances, nor inherit them
  2. Can have static members only.

 

Add comment

biuquote
  • Comment
  • Preview
Loading