## Java Lucky Number program

Question:- William planned to choose a four-digit lucky number for his car. His lucky numbers are 3,5 and 7. Help him find the number, whose sum is divisible by 3 or 5 or 7.Provide a valid car number, Fails to provide a valid input then display that number is not a valid car number. Note…