say suppose I have class as :
public class Age { private int age; public int getAge() { return this.age; } }
In my Main c
There may be some performance overhead of calling the getAge() method many many times, but I suggest you consider The Sad Tragedy of Micro-Optimization Theater.
getAge()