Question: these two please Q2 Using Variables 1 3. Points Which of the following will declare a variable with type char and initialize it to contain
Q2 Using Variables 1 3. Points Which of the following will declare a variable with type char and initialize it to contain the single character a? o char c 'a'; char o charc O set char a; Q3 Using Variables 2 3 Points What will be the value of str after the following code runs? String str = "a"; str + "b"; str + "c"; str = str + "d"; O"d" O "abcd" O "acd
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
