public class Main {

public static void main(String[] args) {

String firstName = "John ";

String lastName = "Doe";

String fullName = firstName + lastName;

System.out.println(fullName);

}

}

From this example copy and paste code that when run would say your name. in javascript with my first name being Ryan and my last name being Smith

Answers

Answer 1

Answer:

const firstName = "Ryan ";

const lastName = "Smith";

const fullName = firstName + lastName;

console.log(fullName);

Explanation:

Answer 2
public class Main {

public static void main(String[] args) {

String firstName = "Ryan";

String lastName = "Smith";

String fullName = firstName + lastName;

System.out.println(fullName);

}

Related Questions

Other Questions
*URGENT PLEASE HELP FAST*Read each of the sentences describing modern primates. Then place each statement into the correct box.See attachment below 2. Explain why the events in haiti showed that european were not necessary prepared to extend these new ideas to non- white people the edges of a cube increase at a rate of 2 centimeters per second. how fast is the volume changing when the length of each cube edge is 50 centimeters ? 1. (10.03 LC) How will a plant respond to a light stimulus?(2 points) The plant will stop growing. The plant will become droopy. The plant will bend toward the light. The plant will drop its fruit and petals. how is s bonded warehouse usefully for the importer the nursing instructor asks the nursing student about the physical changes found in preschoolers. which statement made by the student is accurate? select all that apply. one, some, or all responses may be correct. The length of o a rectangle is 12 cm and its width is 2 cm less than of its lengthDraw an illustration pls the graph shows the market for milk when the government imposes a price floor of $5. fill in the blanks with the correct terms and numbers up to two decimal places. after the price floor is in place, how many units of milk are bought or sold? Carter and his partner have decided to expand their business and make the company public to generate more funds.However, they are aware of the tax policies of corporations. Which type of corporation will they opt for to avoid double taxation?Carter and his partner should opt for a(n)to avoid double taxation. the nurse is caring for a client with a diagnosis of necrotizing fasciitis. which is the priority concern of the nurse when caring for this client? the absorption of infrared radiation by atmospheric gases and the random re-radiation of the energy back towards earth and into space is known as Matt is 3 times as old as his brother Nick. Oscar is 5 years younger thanNick.Write an expression in simplest form that represents the sum (+) of theirages. Banks use debt-to-income ratios in order toa. see how much money a borrower earns compared to how much he or she has borrowed b. analyze the value of a borrowers home and cars to be used as collateral for a loanc. decide whether they need to look at a borrowers credit history before making a loand. see how often a borrower has missed payments on other loans in the past Compare the direction that a transverse wave travels with the direction that matter in the wave vibrates by the time you retire exactly at age 70 you will have saved $700,000 into your diversified portfolio of mutual funds, bonds, and t-bills. you expect to move onto the spirit world at exactly age 80. you do not want to have any money left over when you die. how much can you withdraw at the beginning of each month for 10 years of retirement if your annual rate of return is 6.5%? peds homework 1 when caring for a child with a cognitive impairment, what is a primary factor for the nurse to consider regarding the approach for interaction with the child? HELPPPPP DUE SOON!!!! ))Which operation should be completed first to find the value of the expressionbelow?6-312+ 30 (6-3) + 112+ 303063+1Don Two functions g and f are defined in the figure below. Find the lower quartile and upper quartile of the data set.lower quartile: 13upper quartile: 27About ?minutesComplete the statement about the data set.About ?minutesof students ride the bus for less than 13 minutes.of students ride the bus for less than 27 minutes. help pls