It depends upon implementation . say if its a D Flip flop then it will change the output (if 0 then 1 like that ), if J K then it may change or not ,
say both of J and K are attached to input . then input 1010101 , then for 0 (j=0 k= 0)it will not change the state .