Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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);
}
}
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Bioinformatics Databases And Systems

Authors: Stanley I. Letovsky

1st Edition

1475784058, 978-1475784053

More Books

Students also viewed these Databases questions