No, whales are not classified as fish. Whales are marine mammals belonging to the order Cetacea, which also includes dolphins and porpoises. While whales live in the water and share some superficial similarities with fish, such as a streamlined body shape and the presence of fins, they are very different from fish in terms of their anatomy, physiology, and evolutionary history.
Whales are warm-blooded, breathe air through lungs, give live birth (with the exception of the egg-laying monotremes), nurse their young with milk produced by mammary glands, and have hair (although very little and mostly during the fetal stage). These are all characteristics of mammals, not fish.
From an evolutionary standpoint, whales share a common ancestor with all other mammals, including terrestrial ones like elephants and dogs. This common ancestor lived long after the divergence of the lineage that led to modern fish. Thus, while whales and fish are both vertebrates, they belong to different classes within the vertebrate category, with whales being mammals (class Mammalia) and fish being part of the classes Actinopterygii (ray-finned fishes), Sarcopterygii (lobe-finned fishes, including coelacanths and lungfish), and Chondrichthyes (cartilaginous fishes, such as sharks and rays).
To summarize, whales are not fish; they are mammals that have adapted to living in the marine environment.