Table schema:
CREATE TABLE table_name_95 (class VARCHAR, wheels VARCHAR, no_built VARCHAR)

Question: What class has 4-4-0 wheels and was less than number 40 built?
SQL: SELECT class FROM table_name_95 WHERE wheels = "4-4-0" AND no_built < 40