Microsoft interview question

1st interviewer asked about the Data structure question like Linked list and queue and binary tree. and he request to code queue and circular queue. and 2nd interviewer ask me Least Recently Used (LRU) Cache questions. And I did not know about it so he explained me how it works and he ask coding. 3rd interviewer asked me about the function pointer in C/C++ and how Java language can work like function pointer in C/C++. Does Java capable to pass the parameter using "call by reference" or "call by value"? How Java can pass the address of object?