Lomic got it right, mostly.
To clarify, 12025 (concealed carry ban) exempts private property, even unfenced front yards. HOWEVER, one member here is being maliciously prosecuted under another statute with an identical exemption. The DA is pushing the trial court to change the definition of "private property" to include only places where the public doesn't have access (e.g. behind locked doors/gates). So, for now I wouldn't rely on this exemption.
12031 (loaded carry restriction) does NOT have the same exemption. The courts have ruled that only "possession" is exempted, and that "possession" doesn't include "carrying" (see People v Overturf
). And for the above stated reasons, even this "possession" exemption will go away if "private property" is redefined by the courts.
What I generally recommend for visitors to our state is to NOT open carry in public. There's simply too many laws where you can get jacked up pretty easily, and even if you're 100% within the law, you might get jacked up anyhow.
Instead, I recommend "Poor Man's CCW" (aka "LUCC" - Locked Unloaded Container Carry). This method of carrying involves an unloaded handgun carried within a locked, fully-enclosed secure container. Carrying unloaded is a must in any city, and in many places in rural areas. The locked secure container exempts you from both 12025 and 626.9 (our Gun-Free School Zone Act, which prohibits possession of a handgun within 1,000 feet of grade schools).
If you decide you really want to OC in CA, I suggest you spend a couple weeks browsing and reading up on the statutes and case law. There's a lot to know. A good place to start is http://www.californiaopencarry.org.