Are multiple inheritances possible in java?

A: No, multiple inheritance is not possible in java. Interface has been introduced to serve the purpose and it has been derived from Objective C.The reasons for omitting multiple inheritances from the Java language mostly stem from the ‘simple, ຈຸດປະສົງ, ຮັດກຸມແລະຄຸ້ນເຄີຍ’ ເປົ້າຫມາຍຂອງ. ໃນຖານະເປັນພາສາທີ່ງ່າຍດາຍເພື່ອນ E- Java ຕ້ອງການຢາກພາສາທີ່ພັດທະນາທີ່ສາມາດເຂົ້າໃຈໂດຍບໍ່ມີການຝຶກອົບຮົມຢ່າງກວ້າງຂວາງເປັນ. ແລະທ້າຍທີ່ສຸດ, ພວກເຂົາເຈົ້າໄດ້ເຮັດວຽກທີ່ຈະເຮັດໃຫ້ພາສາເປັນຄ້າຍຄືກັນກັບ C ທີ່ເປັນໄປໄດ້ (ຄຸ້ນເຄີຍ) ໂດຍບໍ່ມີການດໍາເນີນການໃນໄລຍະ C ຄວາມສັບສົນທີ່ບໍ່ຈໍາເປັນ (ງ່າຍດາຍ).

============================================= ============================================== Buy best TechAlpine Books on Amazon
============================================== ---------------------------------------------------------------- electrician ct chestnutelectric
error

Enjoy this blog? Please spread the word :)

Follow by Email
LinkedIn
LinkedIn
Share