Question :What are sealed classes ?
Answer :A sealed class possesses only the fixed set of properties and methods that were defined at
compile-time; additional properties and methods cannot be added. This makes stricter compile-time
checking possible, resulting in more robust programs.
No comments:
Post a Comment