Since this is a header file of your own, the main declaration does not need to be there at all. Also, it is helpful to have proper indentation. Like this:
class Array
{
public:
Array( int = 10 );
Array( const Array & );
~Array();
const Array &operator = ( const Array & );
bool operator == ( const Array & ) const;
bool operator != ( const Array &right ) const { return ! ( *this == right ); }
int & operator [] ( int );
int operator [] ( int ) const;
friend ostream & operator << ( ostream &, const Array & );
friend istream & operator >> ( istream &, Array & );
int getSize() const;
private:
int size;
int * ptr;
};