0

Can we print the output by using simple double quotations?

for example print"hello world!!"

17th Mar 2017, 8:41 PM
mr sandeep
mr sandeep - avatar
2 Réponses
+ 8
It depends on the language. Most languages need parentheses. Like this: print(" ... "); // Semicolon depends on language
17th Mar 2017, 8:43 PM
J.G.
J.G. - avatar
+ 7
No. You usually need parentheses. System.out.print("Hello"); // Java
11th Nov 2017, 2:34 PM
qwerty
qwerty - avatar