Step 1: Understanding the Concept
Continuity at \(x=4\) needs left limit \(=\) right limit \(=f(4)\).
Step 2: Left limit
For \(x<4\), \(|x-4|=4-x\), so \(\frac{x-4}{|x-4|}=-1\). Left limit \(=a-1\).
Step 3: Right limit
For \(x>4\), \(\frac{x-4}{|x-4|}=1\). Right limit \(=1+b\).
Step 4: Equate
\(a-1=a+b\Rightarrow b=-1\).
\(1+b=a+b\Rightarrow a=1\).
Final Answer:
Continuity requires \(a=1\) and \(b=-1\).
\[ \boxed{\text{(C) }a=1,\ b=-1} \]