There are two possible acceptance criteria: acceptance by empty stack and acceptance by final state. The two are not equivalent for the deterministic pushdown automaton. The languages accepted by empty stack are those languages that are accepted by final state and are prefix-free: no word in the language is the prefix of another word in the language. The usual acceptance criterion is final state, and it is this acceptance criterion which is used to define the deterministic context-free languages.
Languages recognized
If is a language accepted by a PDA, it can also be accepted by a DPDA if and only if there is a single computation from the initial configuration until an accepting one for all strings belonging to. If can be accepted by a PDA it is a context free language and if it can be accepted by a DPDA it is a deterministic context-free language. Not all context-free languages are deterministic. This makes the DPDA a strictly weaker device than the PDA. For example, the language Lp of even-length palindromes on the alphabet of 0 and 1 has the context-free grammar S → 0S0 | 1S1 | ε. If a DPDA for this language exists, and it sees a string 0n, it must use its stack to memoize the lengthn, in order to be able to distinguish its possible continuations and Hence, after reading comparing the post-"11" length to the pre-"11" length will make the stack empty again. For this reason, the strings and cannot be distinguished. Restricting the DPDA to a single state reduces the class of languages accepted to the LL languages, which is a proper subclass of the DCFL. In the case of a PDA, this restriction has no effect on the class of languages accepted.
Properties
Closure
Closure properties of deterministic context-free languages are drastically different from the context-free languages. As an example they are closed under complementation, but not closed under union. To prove that the complement of a language accepted by a deterministic PDA is also accepted by a deterministic PDA is tricky. In principle one has to avoid infinite computations. As a consequence of the complementation it is decidable whether a deterministic PDA accepts all words over its input alphabet, by testing its complement for emptiness. This is not possible for context-free grammars.
Equivalence problem
Géraud Sénizergues proved that the equivalence problem for deterministic PDA =L is decidable, a proof that earned him the 2002 Gödel Prize. For nondeterministic PDA, equivalence is undecidable.