In practice resistance is present and oscillations would diminish.
If sufficient energy correctly timed is supplied to the LC circuit utilising a transistor to make up losses the oscillations can be maintained indefinitely.
This energy is supplied as correct phase and magnitude positive feedback.