best answer > Can we create an object of a static class 2024?- QuesHub | Better Than Quora
  • Can we create an object of a static class 2024?

    will class created

    Questioner:Benjamin Wilson 2023-06-09 06:34:37
The most authoritative answer in 2024
  • Lucas Smith——Works at Microsoft, Lives in Redmond, WA

    The compiler will guarantee that instances of this class cannot be created. Static classes are sealed and therefore cannot be inherited. They cannot inherit from any class except Object. Static classes cannot contain an instance constructor; however, they can contain a static constructor.Jul 20, 2015read more >>
    +119962023-06-17 06:34:37

About “will、class、created”,people ask:

READ MORE:

QuesHub is a place where questions meet answers, it is more authentic than Quora, but you still need to discern the answers provided by the respondents.

分享到

取消