การสะท้อนกลับเป็นความสามารถของโปรแกรมในการตรวจสอบและจัดการโครงสร้างของตัวเองในขณะรันไทม์: ค้นหาคลาส อ่านฟิลด์และวิธีการ เรียกใช้เมธอด และสร้างอ็อบเจ็กต์ ทั้งหมดนี้โดยไม่ต้องรู้ประเภทของคลาสเหล่านั้นในเวลาคอมไพล์ จุดเริ่มต้นไปยัง Reflection API คืออ็อบเจ็กต์ Class<T> ซึ่งแสดงถึงประเภทที่โหลดโดย JVM

ใช้สะท้อนแสงอะไร.
Full content is available with a subscription.
Get full access to all courses on the platform for one year with a single payment.
Unlike other platforms that charge per course, here you get everything for one price, and after one year of use there will be no automatic charge for the following year.