The defendant is allowed to plead and answer. The answer is allowed to contain a counterclaim against the plaintiff. The federal courts use a motion to dismiss for failure to state a claim. There is no demurrer under federal law. Federal courts use notice pleading. There is no need under federal rules to plead all the facts constituting a cause of action.