Subject to the power of the court to permit an amendment of the answer, if the defendant fails to object to the complaint, either by demurrer or answer, he is deemed to have waived the objection.
Source:
Section 1250.345, https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=CCP§ionNum=1250.345.
.