I want to compare the classification performance of two heuristics: $h_0$ and $h_1$. I have around 700 samples for which I know the output class $c$ and the results of the two heuristics $c_{\textit{h_0}}, c_{\textit{h_1}}$. That is, for each sample I have $\text{sample}_{\textit{id}}, c, c_{\textit{h_0}}, c_{\textit{h_1}}$.
$h_0$ has around ~71% correct predictions of the output class and $h_1$ has around ~77% correct. What I want to calculate now is whether this performance difference is just by chance or if the prediction performance of $h_1$ is statistical significant better than that of $h_0$.
I have found Fisher's exact test, but I don't know whether I can just put my data in there like the following matrix to calculate a p-value.
$$ \begin{matrix} & h_0 & h_1 \\ \text{correct prediction} & 497 & 539 \\ \text{wrong prediction} & 203 & 161 \end{matrix} $$
I don't know if I can calculate the p-value like that or if I'm completely on the wrong track. I would really appreciate it if someone could point me in the right direction.