Java OOPs اسئلة واجوبة المقابلات
Question: Explain the difference between an interface and an abstract class.Answer: An interface in Java is a collection of abstract methods, while an abstract class can have both abstract and concrete methods. A class can implement multiple interfaces but can extend only one abstract class. |
احفظ للمراجعة
احفظ هذا العنصر في الإشارات المرجعية، او حدده كصعب، او ضعه في مجموعة مراجعة.
سجل الدخول لحفظ الإشارات المرجعية والاسئلة الصعبة ومجموعات المراجعة.
هل هذا مفيد؟ نعم لا
الاكثر فائدة حسب تقييم المستخدمين: