See my reference configuration for hardware selections which worked well for me when running Kubuntu 18.04 guests on Kubuntu 18.04 hosts.
After configuring your VM you might like to read about installing Kubuntu on it.
Am reading The C++ Programming Language, 4ed, by Bjarne Stroustrup and his sixth suggestion for Java programmers (pg 21) is:
Remember: a variable is never implicitly a reference.
I didn’t know that!
Read all about HTML Elements and Attributes!
I was curious about the difference between C++ pointers and C++ references, so I searched and found this which says that basically: