Multiple Choice
What is the entry point of a Java application ?
What is common use of a Hello World application ?
How do we call a line of code that performs a specific action and is terminated with a semicolon ?
Code in
main()
is placed between ...When we expect a positive integral value from the user and he/she inputs a negative number, than this may lead to a ...
When we want to add double quotes inside our string that is outputted to the terminal we need to make use of ...
What code statement can be used to output our name and age to the terminal as shown below ?
The rectangle's (process step) in a flowchart will often map on ... in Java.
When we forget to place a curly brace than we create a ...
How do we call
\n
,\t
,\r
?How do we call a piece/line of code as shown below?
What is not a use of creating a basic "Hello World" application?
When we forget to place a semicolon
;
at the end of a statement, then we create a ...What is the problem with the code below?
Suppose you write an application that needs to generate a list of numbers between 0 and 100 (both inclusive, so
[0, 100]
). However, the application generates values100
exclusive, so[0, 100[
. De app does run without crashing. What kind of error did you make?What is the problem with the code below?
What is the result of the following statement?
Last updated