if it is an Object, return an address to the referenced return object? If literal, return a copied value to the return object?
Example:
public class serv{
Object add;
int literal;
public Object AddVal{
get{return add}; set{add = value};
}
public int Literal{
get{return literal}; set{literal = value};
}
}
Here if i retrieve item from "AddVal" would it be the reference address that is returned? If I retrieve item from Literal, wold it be copy of literal that is returned?
Thanks for your time.