66.4k views
5 votes
Dots (or periods) in a Java statement are used to separate the names of the components that make up the statement.

A. True
B. False

1 Answer

5 votes

Answer:

B) False

Step-by-step explanation:

The java programming language uses Dots (periods) as an operator (The dot operator). It is used when referring to the variables or methods of a class. The syntax is ClassName.variableName or ClassName.methodName. We are very familiar with the System.out (java.lang.System.out) which refers to the variable out contained in the class System. Another example is input.nextInt( ) In this case the nextInt ( ) method is being called.

User Hajisky
by
4.5k points