सीधे मुख्य सामग्री पर जाएं

#59 How to use this keyword in Java | Java में this keyword का use कैसे करे

package com.sudhirtheindian2.java123;

public class this_keyword {


public static void main(String[] args) {






// How to call the parameterized constructor of its own class
// using this keyword












//How to use this keyword in java
// whenever the name of instance and local variable are the same
// then our run time environment JVM gets confused that which one is
// local variable of which one is instance variable
// to avoid the problem we should use this keyword












// How to find unique reference number for any class in java






// 1 this keyword refers the current object inside
// a method or constructor

//



// 4 It is also called parameterized constructor of its own class










}
}

टिप्पणियाँ

इस ब्लॉग से लोकप्रिय पोस्ट