\documentclass{book}
\usepackage{hyperref}
\setcounter{secnumdepth}{4}

\begin{document}

\chapter{Chapter}
\label{chap:chapter}

\section{Section}
\label{sec:section}

\subsection{Subsection}
\label{subsec:section}

\subsubsection{Subsubsection}
\label{subsubsec:section}

\begin{equation}
	a\label{eq:a}
\end{equation}


\begin{figure}
\caption{Figure.}
\label{fig:test}
\end{figure}

\chapter{Second Chapter}
Equation~\autoref{eq:a}\\
Figure~\autoref{fig:test}\\
Chapter~\autoref{chap:chapter}\\
Section~\autoref{sec:section}\\
Subsection~\autoref{subsec:section}\\
Subsubsection~\autoref{subsubsec:section}\\


\noindent 
Equation~(\ref{eq:a})\\
Figure~\ref{fig:test}\\
Chapter~\ref{chap:chapter}\\
Section~\ref{sec:section}\\
Subsection~\ref{subsec:section}\\
Subsubsection~\ref{subsubsec:section}

\end{document}