If you include a header file, you copy everything in that file at the position where the include statement is.
Just writing
Class classname;
Means you are declaring the class, so you are telling the compiler „this class does exists“ and you would use this if you only need the class as a datatype in the file, because that way you are not including the entire head file.