Question: Please answer the TODOs methods below in java public class Test 2 Q 1 { public static String getFullAddress ( String name, String address, int

Please answer the TODOs methods below in java
public class Test2Q1{
public static String getFullAddress(String name, String address, int zip){
String fullAddress = "The address is: ??
+ name +"
"+ address +"
"+zip;
return fullAddress;
}
public static void main(String[] args){
//TODO1: Please replace "" below with a method invocation to //getFullAddress for John Smith who lives at 1000 University Center Lane, Lawrenceville, GA with zip code 30043
String message1="";
System.out.println(message1);
//TODO2: Please replace "" below with a method invocation to //getFullAddress for Helen Edwards who lives at 4189 Fallbrook Dr, Duluth, GA
with zip code 30097
String message2="";
System.out.println(message2);
}
}
 Please answer the TODOs methods below in java public class Test2Q1{

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!