![PatienceJenkins891](/avatars/22018.jpg)
PatienceJenkins891
22.03.2021 •
Computers and Technology
Create a new Java program called MyInfo. Create one or more method(s) that pass the following information as parameters and prints it when the method is called. Full name Middle Initial Age Major GPA Once completed, paste code.
Solved
Show answers
More tips
- S Style and Beauty Lamination of Hair: How it Works and What it is?...
- C Computers and Internet Best Applications for Your iPad: Review of the Best Candidates for Installation...
- S Style and Beauty Intimate Haircut: The Reasons, Popularity, and Risks...
- A Art and Culture When Will Eurovision 2011 Take Place?...
- S Style and Beauty How to Choose the Perfect Hair Straightener?...
- F Family and Home Why Having Pets at Home is Good for Your Health...
- H Health and Medicine How to perform artificial respiration?...
- H Health and Medicine 10 Tips for Avoiding Vitamin Deficiency...
- F Food and Cooking How to Properly Cook Buckwheat?...
- F Food and Cooking How Many Grams Are In a Tablespoon?...
Answers on questions: Computers and Technology
- H History What impact did the collapse of communism have on Eastern Europe? (1 Point) Widespread Poverty Less corruption in government Increase in public services Less unemployment...
- M Mathematics What multiplication problem is represented by the following model....
- H History What major political philosophies have developed throughout history?...
- M Mathematics A triangle has a side length of 5.4 and 7 x x=...
Ответ:
Answered below
Explanation:
//Program in Java
class MyInfo{
public static void main (String args []){
myFullName("John", "Doe");
myAgeMajorGPA(20, "Biology", 4.3);
}
public void myFullName(String initialName, String middleName){
System.out.println(initialName);
System.out.print(middleName);
}
public void myAgeMajorGPA(int age, String major, double GPA){
System.out.println(age);
System.out.println(GPA);
System.out.print(major);
}
}
Ответ:
D. My train trip down the West Coast was an exciting adventure.
Explanation:
Hope this helps!