in Technology by

main() { var title = "hello"; String v = "hello"; var target; target ??= (title == v ? true : "welcome"); print(target); } ``` What is the output?

1. error
2. hello
3. true
4. welcome

1 Answer

0 votes
by

Correct answer is :- error

Related questions

0 votes
    What is the output of print str + "TEST" if str = 'Hello World!'?...
asked Nov 23, 2020 in Technology by JackTerrance
0 votes
    What is the output of print str[2:] if str = 'Hello World!'?...
asked Nov 23, 2020 in Technology by JackTerrance
0 votes
    What is the output of print str[2:5] if str = 'Hello World!'?...
asked Nov 23, 2020 in Technology by JackTerrance
0 votes
    What is the output of print str[0] if str = 'Hello World!'?...
asked Nov 23, 2020 in Technology by JackTerrance
0 votes
    What is the output of print str if str = 'Hello World!'?...
asked Nov 23, 2020 in Technology by JackTerrance
0 votes
    What will be the output of print str[2:5] if str=’hello world!? Select the correct answer from above options...
asked Dec 25, 2021 in Education by JackTerrance
0 votes
    . 1. Find the output of the following programs. (a) 10 LET AS = “HELLO” 20 LET BS = “FRIENDS” 30 PRINT AS:BS 40 END Select the correct answer from above options...
asked Nov 29, 2021 in Education by JackTerrance
0 votes
    Simran write a code print: (“hello friends”)but when she executed there comes an error what was the error and why did it occur Select the correct answer from above options...
asked Dec 23, 2021 in Education by JackTerrance
0 votes
    What is the code to print hello one second from now? (a) setTimeout(function() { console.log( ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 23, 2021 in Education by JackTerrance
0 votes
    What will be the output of the following Python function? len(["hello",2, 4, 6]) a) Error b) 6 c) 4 d) 3...
asked Jan 2, 2023 in Technology by JackTerrance
0 votes
0 votes
0 votes
0 votes
    ________ is used for main title in graph. (a) Title (b) Main (c) Title Main (d) Main Title The ... Neural Networks of R Programming Select the correct answer from above options...
asked Feb 9, 2022 in Education by JackTerrance
0 votes
    The main difference between the variables declared with var and with let is __________ (a) var is confined ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 23, 2021 in Education by JackTerrance
...