Computer Science, asked by Alanna1107, 1 month ago

Write a program to assign and display a string value to any variable of your choice.

Answers

Answered by mouleeshwari0
1

Answer:

sorry I don't know

Explanation:

sorry

Answered by raj221802
2

QUESTION : Write a program to assign and display a string value to any variable of your choice.

WHAT TO DO : WRITE PROGRAM

HTML PROGRAM :

<html>

<title>

<head> NAME </head>

</title>

<body>

<p1>

<string> <randomString> </string>

</p1>

</body>

</html>

JAVA PROGRAM :

public class Name

{

int N1

public void input

{

N1 = "randomMathString"

}

public void process

{ }

public void output

{

system.out.println("String" + N1 )

}

}

HOPE IT HELPS !

PLEASE MARK AS BRAINLIEST !

Similar questions