I just finished a Java 101 class and am now attempting to use my new skills at work developing in Java(J2EE no less). I noticed in a lot of my companies code there are statements that look like this:
setAnObjectFactory(new AnObjectFactory(AnObject.getProperties().getString(servletName + ".BaseId")));
I am confused on how the two methods in the parm are connected. How does it work when you have "aObject.getSomething().getString()" ???
I didn't know you could connect to methods with the dot operator. How does this work?
Thanks!