We show that the soft gamma-ray repeaters (SGRs) and anomalous X-ray pulsars (AXPs) can be explained as recently proposed highly magnetized white dwarfs (B-WDs). The radius and magnetic field of B-WDs are perfectly adequate to explain energies in SGRs/AXPs as the rotationally powered energy. While the highly magnetized neutron stars require an extra, observationally not well established yet, source of energy, the magnetized white dwarfs, yet following Chandrasekhar's theory (C-WDs), exhibit large ultra-violet luminosity which is observationally constrained from a strict upper limit.