\newtheorem{example}{Example}[section] 
 
\begin{example} 
 
\label{E} 
 
\end{example} 
 
Example \ref{E}