Ah thank you! This concept is encapsulated in Java so I thought that the reference in C++ is also implicit (as their syntax is pretty similar) :-)