Public class Main{ public static void main(String [] args){ String name=WelcomeJava; Runnable r1=() -> System.out.println(nam
e); String name1 = name.toUpperCase(); Runnable r2=() -> System.out.println(name1); r1.run(); } }
What is the output of the above program?
1 answer:
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 brainlist
You might be interested in
Answer:
F, T, F
C. A. C. D. B
that is just it
brainliest please ;)
Answer:
To obtain substantial performance enhancements, we must exploit ILP across multiple basic blocks.
Explanation:
Answer:
An advertisement for sportswear
Explanation:
An advertisement for sportswear would most likely be written in an informal style.
Answer:
I need the pic
Explanation:
The answer is C. You can only use it with the correct memory card reader.