Model 1: Basic Java Programming - Variable declaration Flashcards

1
Q

In statically-typed language is when

A

you must explicitly create each variable and tell what type of data (for example, an integer) that variable will store before using it.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

In dynamically-typed languages

A

the variable must hold one of the data types now and forever.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Java variable naming convention: camel case#

In Java, the first letter should be

A

lowercase and each new word should be uppercase.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

a data type, double

A

is used to store numbers that have values after the decimal point.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly