BN108/BN108D Programming for NetworkingLaboratory 7: Static MethodsSubmission Due: End of laboratory class, submit the file on Moodleatleast 10 minutes before the end of laboratory class.Total Marks= 10 marks for 10 weeks (DIT and BNet)Marks will be given only to students who attend and participate duringthe 2 hours’ laboratory class. Submission on Moodle is mandatory as anevidence of participation.Description of the laboratory exercise:The aim of this workshop is to use methods to introduce some form ofstructure to our programs and reduce on redundancy. To get started,remember the syntax of a static method in java is as follows;public static voidname() {statements;}Exercises:Exercise 1:Write a program that prints the following statement a 1000 times;Prepared by:David ChisangaModerated by: A/Prof Savitri BevinakoppaNovember, 2016