Cho hàm số \(y = f(x) = \le...

Câu hỏi: Cho hàm số \(y = f(x) = \left\{ \begin{gathered} 3x \hfill \\ {x^2} + 2 \hfill \\ \end{gathered} \right.\begin{array}{*{20}{c}} {,x < 0} \\ {,x \geqslant 0} \end{array}\). Khẳng định nào sau đây là đúng?

A. f(-1) = 3

B. f(-2) = -6

C. f(2) = 6

D. f(0) = 0