Declare the following values and variables using Java:
1. Use the variable “days” to declare the days of the week.
2. Use the variable “name” to declare the letters of your family name.
Answers
Answered by
2
Answer:
public class Brainly {
public static void main(String[] args) {
String [] days = {"monday", "tuesday", "wednesday", "Thursday", "friday", "Saturday", "sunday"};
Char[] name = {"k" , "o", "l", "h", "e"};
System.out.println(days + name);
}
}
Similar questions