Rules for creating Java constructor There are two rules defined for the constructor. ⫸ Constructor name must be the same as its class name ⫸ A Constructor must have no explicit return type ⫸ A Java constructor cannot be abstract, static, final, and synchronized - Study24x7
Social learning Network
86 followers study24x7 03 Dec 2019 01:26 PM study24x7 study24x7

Rules for creating Java constructor There are two rules defined for the constructor. ⫸ Constructor name must be the same as its class name ⫸ A Constructor must have no explicit return type ⫸ A Java constructor cannot be abstract, static, final, and synchronized

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles