Construtores Estáticos

Asked

Viewed 39 times

1

Why can’t I declare a static constructor function? Is there any problem with context?

  • Yes, some code you’re doing that didn’t work?

  • It’s actually a question. I’ll give you an example: If I declare it as Static Method(){}, what’s the difference for a constructor that isn’t static?

  • 2

    What is the doubt? The described part of a wrong premise.

  • I understand. I corrected my comment above.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.