Answer:
String date = "21/05/2020";
String dayStr = date.substring(0,2);
int day = Integer.parseInt(dayStr);
System.out.println(day);
Explanation:
Create a variable called <em>date</em> which holds the current date
Create a variable called <em>dayStr</em>. Initialize it to the day part of the <em>date</em> using the substring method
Create a variable called <em>day</em>. Parse the <em>dayStr</em> and assign it to the <em>day</em>
Print the <em>day</em>
The answer is a. A mnemonic is a tool to aid retention
What are some ways you can work with templates? Check all that apply.
Answer: (A,D,E) see picture below for help also.
I think it the answer would be B but I'm not sure