say suppose I have class as :
public class Age { private int age; public int getAge() { return this.age; } }
In my Main c
Don't bother. It's absolutely not worth micro-optimizing like this. Wait until you finish your code, then it runs too slowly, then get out a profiler and work on what the profiler tells you is the source of the problem.
Premature optimization is the root of all evil.