PHP <-> Java | Variable use

PHP

$

Description

$name
Data:
  • name -

Output

Examples

PHP

Variable use the possible of use:
$x = 64 / 8;   // x=8
$y = $x / 0.5;   // y=16
$z = ($x * 2 / $y +5);// z=1.1

PHP

$a && $b
$a || true
!$a
.
Java

variable use

Description

name
Data:
  • name -

Output

Examples

Java

Variable use the possible of use:
x = (float)64 / 8;   // x=8
y = x / 0.5;   // y=16
z = ((float)(x * 2) / y +5);// z=1.1

Java

a && b
a || true
!a

You can find it in the following collections: value receiver | value sender
Languages: en hu cz sk