Home How do I call one constructor from another in Java?
Reply: 0

How do I call one constructor from another in Java?

user222
1#
user222 Published in June 23, 2018, 7:55 am

Is it possible to call a constructor from another (within the same class, not from a subclass)? If yes how? And what could be the best way to call another constructor (if there are several ways to do it)?

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.431376 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO