Why this MWE doesn't work?
\begin{filecontents*}[overwrite]{myClass.cls}
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{myClass}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
\ProcessOptions\relax
\LoadClass{article}
\def\fullname#1{\gdef\@fullname{#1}}
%
\ifdefined\@fullname
\def\myTable{%
\begin{tabular}{ll}
Some & Text\\
\@fullname & Text
\end{tabular}%
}
\else
\def\myTable{Why not defined?!}
\fi
\end{filecontents*}
\documentclass{myClass}
\begin{document}
\fullname{Defined}
\myTable
\end{document}
