![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 26.04.2021 04:10 eweqwee3147
In this exercise you will debug the code which has been provided in the starter file. The code is intended to do the following:
take a string input and store this in the variable str1
copy this string into another variable str2 using the String constructor
change str1 to the upper-case version of its current contents
print str1 on one line, then str2 on the next
1 /* Lesson 4 Coding Activity Question 2 */
2
3 import java. util. Scanner;
4
5 public class U2_L4_Activity_Two{
6 public static void main(String[] args){
7
8 Scanner = new Scanner(System. in);
9 String str1 = scan. nextLine();
10 String str2 = String(str1);
11 str1 = toUpperCase(str1);
12 System. out. println("str1");
13 System. out. println("str1");
14
15 }
16 }
![ansver](/tpl/images/cats/User.png)
Answers: 2
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 22:10
Asequential circuit contains a register of four flip-flops. initially a binary number n (0000 ≤ n ≤ 1100) is stored in the flip-flops. after a single clock pulse is applied to the circuit, the register should contain n + 0011. in other words, the function of the sequential circuit is to add 3 to the contents of a 4-bit register. design and implement this circuit using j-k flip-flops.
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 10:10
Which view in a presentation program displays a split window showing the slide in the upper half and a blank space in the lower half?
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 12:00
Which spreadsheet operation does a look function perform?
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 20:00
Avirus enters a computer or network as code embedded in other software directly from another computer
Answers: 1
You know the right answer?
In this exercise you will debug the code which has been provided in the starter file. The code is in...
Questions
![question](/tpl/images/cats/mkx.png)
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/en.png)
English, 29.01.2021 23:40
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/fizika.png)
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 29.01.2021 23:40
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 29.01.2021 23:40
![question](/tpl/images/cats/en.png)
English, 29.01.2021 23:40
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/en.png)
English, 29.01.2021 23:40
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 29.01.2021 23:40
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 29.01.2021 23:40
![question](/tpl/images/cats/mat.png)
Mathematics, 29.01.2021 23:40
![question](/tpl/images/cats/mat.png)
Mathematics, 29.01.2021 23:40
![question](/tpl/images/cats/mat.png)
Mathematics, 29.01.2021 23:40
![question](/tpl/images/cats/en.png)
English, 29.01.2021 23:40