Static variables are variables that are not tied to a particular instance, rather they are tied to the class. This means all instances share a copy of static member variables.
Friend functions and classes
Friend functions and classes are external functions or classes which are granted access to all members of a class. To my mind, this breaks encapsulation and shouldn’t be done. Maybe that’s just my years of Java speaking. Maybe I just need to get used tot eh C++ way of doing things.