In exams, is it valid to connect the two inputs of a JK flip flop to use it as a T flip flop?

Like, it's not a wrong solution right?
Answers

Dixon

That is the operation of a JK but only you know what restrictions there might be in a given exam or question.

derfram

Trying the J and K inputs together will just confuse the FF. You can't toggle via the JK inputs, you need to input a clock. If both the J and K inputs when a clock is input, the FF won't know what state you want it to go to.