In book "Introduction to the Theory of Computation" by M. Sipser.
Captioned statement claimed in proof idea of theorem 2.42: "The class of DCFLs is closed under complementation."
My understanding is that DPDA means that all transitions are deterministic, how DPDA can go to both accept state & non-accept state after all input read out?
It may help to think of an input word as an infinite sequence of letters, which is eventually a special "after the end of the input" character. Instead of $ababab$, think $ababab\#\#\#\#\#\ldots$
Depending on the specific definition of pushdown automaton you're using, the pushdown automaton is allowed to continue reading in these "after the end of the input" characters until it has used up its stack, at which point it accepts or rejects depending on the state it's in when it uses up its stack.