Static variables Java language 5. May 2019 5. May 2019 A static variables value is the same for aALL instances of the class…The static duckCount variable…