Non-object-oriented language basics, Part 2; Delve into operators and expressions

The modulus binary infix operator divides its leftmost operand by its rightmost operand and returns the remainder. Because this operator performs integer division, both operand's data types must be byte integer, character, integer, long integer, or short integer. The operator has the following...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Veröffentlicht in:Java world 2001-01, p.1
1. Verfasser: Friesen, Geoff
Format: Magazinearticle
Sprache:eng
Schlagworte:
Online-Zugang:Volltext
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The modulus binary infix operator divides its leftmost operand by its rightmost operand and returns the remainder. Because this operator performs integer division, both operand's data types must be byte integer, character, integer, long integer, or short integer. The operator has the following syntax: The postincrement unary postfix operator returns the value of its operand prior to adding 1 to it. (Internally, it accomplishes this by storing the operand value in a temporary variable, adding 1 to the operand, and then returning the contents of the temporary variable.) The operand's data type must be byte integer, character, double- precision floating-point, floating-point, integer, long integer, or short integer. The operand must be a variable, not a literal. The operator's syntax is: The postdecrement unary prefix operator returns the value of its operand prior to subtracting 1 from it. (As does postincrement, this operator accomplishes its task by storing the operand value in a temporary variable prior to subtracting 1 from the operand, and then returning the contents of the temporary variable.) The operand's data type must be byte integer, character, double-precision floating- point, floating-point, integer, long integer, or short integer; the operand must be a variable, not a literal. The operator has the following syntax:
ISSN:1091-8906
1091-8906