Week 1 Flashcards
1
Q
printing out to the screen
A
system.out.print
2
Q
line break
A
println
3
Q
Read the next input
A
next ( )
4
Q
What are functions also referred to as
A
Methods
5
Q
Output onto console screen
A
system.out
6
Q
Input from the console
A
system.in
7
Q
Outputting error messages onto console screen
A
system.err
8
Q
What is a strung
A
A sequence of characters
9
Q
What is a double known as in maths
A
A real number
10
Q
Symbol used for multiplication
A
*
11
Q
New line in text
A
/n
12
Q
How to pass info to a function
A
Put it in brackets after the function ()
13
Q
Comments
A
//
14
Q
How do we join stings
A
Addition eg “radius of the circle” + radius