Java OOPs Pertanyaan dan Jawaban Wawancara
Question: What is the 'this()' constructor call in Java?Answer: The 'this()' constructor call is used to invoke another constructor in the same class. It must be the first statement in the constructor if used.Example:
|
Simpan untuk Revisi
Bookmark item ini, tandai sebagai sulit, atau masukkan ke dalam set revisi.
Masuk untuk menyimpan bookmark, pertanyaan sulit, dan set revisi.
Apakah ini membantu? Ya Tidak
Most helpful rated by users: