Java OOPs اسئلة واجوبة المقابلات
Question: Explain the 'super()' statement in a constructor.Answer: The 'super()' statement is used to invoke the constructor of the superclass. It must be the first statement in the subclass constructor if used.Example:
|
احفظ للمراجعة
احفظ هذا العنصر في الإشارات المرجعية، او حدده كصعب، او ضعه في مجموعة مراجعة.
سجل الدخول لحفظ الإشارات المرجعية والاسئلة الصعبة ومجموعات المراجعة.
هل هذا مفيد؟ نعم لا
الاكثر فائدة حسب تقييم المستخدمين: