The code below is currently displayed on the computer screen at Swagger Distribution every morning when employees log on to their computers. The new…
The code below is currently displayed on the computer screen at Swagger Distribution every morning when employees log on to their computers.The new owner would like you to:
1.Add a second line that tells employees, “Welcome to Swagger Distribution!”
2.Place the “Welcome” statement above the current date.
3.Change the word “Current” to “Today’s” on the date output.
Rewrite the code to meet the new owner request.
import java.util.*;
import java.lang.*;
import java.io.*;
/* Name of the class has to be “Main” only if the class is public. */
public class HelloWorld
{
public static void main (String[] args) throws java.lang.Exception
{
int day;
int month;
int year;
GregorianCalendar date = new GregorianCalendar();
day = date.get(Calendar.DAY_OF_MONTH);
month = date.get(Calendar.MONTH);
year = date.get(Calendar.YEAR);
System.out.println(“Current date is “+(month+1)+”/”+day+”/”+year);
}
}
·Identify the functionality of key code
components such as what the functionality of “system.out.println” is along with other code components such as the calendar code and the semicolon.
·Briefly summarize the threechanges that were made from the original code for Swagger using the appropriate terminology.
·Add a screenshot of your code and output and paste into your document.
Below is the wired network configuration for Swagger Distribution. Use this to create and describe a
Visio diagram of a wireless networking configuration appropriate for the company. Describe all aspects
of the network using IT terminology.
"Looking for a Similar Assignment? Order now and Get 10% Discount! Use Code "Newclient"
