Java calling methods on instance variable
===

Got two ways:
    

>      String salary = company.getPerson(id).getData().getSalary();      
>      String postcode = company.getPerson(id).getData().getPostCode();

or

>     Data data = company.getPerson(id).getData();    
>     String salary = data.getSalary();     
>     String postcode = data.getPostCode();


Which is the preferred way and why?
Any benefits apart from readability?
