The template method gives you the most protection by the compiler against defining an array that's too large for your processor board.
Test_class.h:
#ifndef Test_class_h
#define Test_class_h
#include "Arduino.h"
template<size_t ARRAY_SIZE>
class TestClass {
public:
float test_array[ARRAY_SIZE];
};
#endif
Main .ino:
#include "Test_class.h"
TestClass<800> TestObject800;
TestClass<600> TestObject600;
void setup() {
}
void loop() {
}