<p><img alt="(10 pts) A network with switches a - g is shown below. Switch a shall be the root bridge. The numbers are the associated costs for each of the
<p>1. Define context-free grammars</p><p>a. (5 points) Write BNF/EBNF description for a Java classdefinition header statement. Examples of class definitionheader:</p><p>class MyClass</p><p>abstract class MyClass</p><p>final class MyClass extends Thread</p><p>public class MyClass implements Runnable</p><p>Solution
<p>Java Program</p><p>Design, implement, test, and debug a GUI using a Frame and thenapply BorderLayout manager.</p><p>For each section of the BorderLayout manager add a Button with apresident name as a label