Can I update value of the private member in another package by using Java encapsulation concept?
Input:
Name:
PAN:
Phone:
Account_no=987452
For all users account no should be updated in increasing order.
Can I update value of the private member in another package by using Java encapsulation concept?
Input:
Name:
PAN:
Phone:
Account_no=987452
For all users account no should be updated in increasing order.