Answer:
Concept: Programming
You take a string as an input, and you output the result which is a user defined name.Then you take that name and turn all the strings to uppercase in name and return that result.Rate brainlistThe output of the given program is,
''WelcomeJava''
Given program is,
public class Main {
public static void main(String[] args) {
String name = "WelcomeJava";
Runnable r1 = () -> System.out.println(name);
String name1 = name.toUpperCase();
Runnable r2 = () -> System.out.println(name1);
r1.run();
}
}
Now, This program defines a class called Main, with a main method as the entry point.
It declares a String variable name with the value "WelcomeJava".
Then, it creates a Runnable r1 that prints the value of the name when executed.
Next, it converts the name to uppercase and assigns the result to name1.
Finally, it creates another Runnable r2 that prints the value of name1 when executed.
In the main method, r1 is called using the run method, resulting in the output "WelcomeJava".
Read more about Python programs at:
brainly.com/question/26497128
#SPJ4
Which of the following scenarios is most likely to give you the shallowest depth of field?
a) 18mm lens at f5.6, subject 20 feet away.
b) 50mm lens at f22, subject 6 feet away.
c) 28mm lens at f4, subject 15 feet away.
d) 85mm lens at f2, subject 8 feet away
50 points and brainliest
Answer: The answer is B Hope this helps :) Please mark Brainliest
Explanation:
What’s the term for a current flow in which electrons move in one direction
Answer:
Direct Current
Explanation:
MARK ME BRAINLIEst pls
What is the name of the variable in the
following code?
Answer:
Lift
Explanation:
When coding, you use a variable name for an object, and assign it to move up, down, and/or sideways.
One of the following is NOT a basic linked list operation:_________.
a) search
b) insert
c) create
d) delete
e) traverse
f) destroy
g) build list from file
Answer:
One of the following is NOT a basic linked list operation:_________.
g) build list from file
Explanation:
Linked list operation is the creation of trees and graphs or a chain of data elements, which are called nodes. Each note points to the next using a pointer. In linked lists, each node consists of its own data and the address of the next node. A linked list, which may be single, double, or circular, forms a chain-like structure that builds from one node to the other.