best answer > Can you make a constructor final 2024?- QuesHub | Better Than Quora
  • Can you make a constructor final 2024?

    函数 在线 测试

    Questioner:Oliver Rivera 2023-05-05 12:30:28
The most authoritative answer in 2024
  • Harper Cole——Studied at the University of Zurich, Lives in Zurich, Switzerland.

    So making a constructor final is not required, so it is not used with constructor. When you set a method as final, it means : "You don't want any class override it", but constructor by JLS definition can't overridden,so it is clean. We can't make constructor to be final because constructor is never inherited.read more >>
    +119962023-05-14 12:30:28

About “函数、在线、测试”,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.

分享到

取消