Respuesta :
class Example
{
public static void main ( String[] args )
{
salesquarter1 = "$350,249.22";
salesquarter2 = "$381,100.00" ;
salesquarter3 = "$291,527.06" ;
salesquarter4 = "$142,447.38" ;
System.out.println("salesquarter1 : " + salesquarter1);
System.out.println("salesquarter1 : " + salesquarter2 );
System.out.println("salesquarter1 : " + salesquarter3 );
System.out.println("salesquarter1 : " + salesquarter4 );
}
}
Declaration variable :
In a computer programming language, a variable's declaration is a statement that identifies the variable's name and data type. Declarative code informs the compiler of the existence and location of an entity in the programme. You should initialise a variable as soon as you declare it. Although enumerations and type definitions can be be used as entities, declarations are most frequently used for functions, variables, constants, and classes. Data types or type signature types may also include dimensions, as in the case of arrays, and are normally specified in declarations. A declaration is used in forward declaration to inform the compiler of the existence of the entity; this is significant in strongly typed languages that demand that functions, variables, and constants, together with their types, be declared with a declaration before usage. Declarations are particularly prominent in languages in the ALGOL tradition, including the BCPL family, most prominently C and C++, and also Pascal. Java uses the term "declaration", though Java does not require separate declarations and definitions.
To learn more about declaration variables refer :
https://brainly.com/question/14325424
#SPJ4
Class Example
Public static void main ( String args )
salesquarter1 = "$350,249.22";
salesquarter2 = "$381,100.00" ;
salesquarter3 = "$291,527.06" ;
salesquarter4 = "$142,447.38" ;
System.out.println("salesquarter1 : " + salesquarter1);
System.out.println("salesquarter1 : " + salesquarter2 );
System.out.println("salesquarter1 : " + salesquarter3 );
System.out.println("salesquarter1 : " + salesquarter4 );
Declaration variable :
- In a computer programming language, a variable's declaration is a statement that identifies the variable's name and data type. Declarative code informs the compiler of the existence and location of an entity in the programme. You should initialise a variable as soon as you declare it.
- Although enumerations and type definitions can be be used as entities, declarations are most frequently used for functions, variables, constants, and classes. Data types or type signature types may also include dimensions, as in the case of arrays, and are normally specified in declarations.
- A declaration is used in forward declaration to inform the compiler of the existence of the entity; this is significant in strongly typed languages that demand that functions, variables, and constants, together with their types, be declared with a declaration before usage.
- Declarations are particularly prominent in languages in the ALGOL tradition, including the BCPL family, most prominently C and C++, and also Pascal. Java uses the term "declaration", though Java does not require separate declarations and definitions.
To learn more about declaration variables refer :
brainly.com/question/14325424
#SPJ4