Java OOPs اسئلة واجوبة المقابلات
Question: What is the purpose of the 'this' keyword?Answer: The 'this' keyword is used to refer to the current instance of the class. It is often used to differentiate instance variables from local variables when they have the same name.Example:
|
احفظ للمراجعة
احفظ هذا العنصر في الإشارات المرجعية، او حدده كصعب، او ضعه في مجموعة مراجعة.
سجل الدخول لحفظ الإشارات المرجعية والاسئلة الصعبة ومجموعات المراجعة.
هل هذا مفيد؟ نعم لا
الاكثر فائدة حسب تقييم المستخدمين: