Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 12141

JAVA Variable declaration not allowed at this location [duplicate]

$
0
0

I want to declare a variable called false that takes a boolean as an argument, all of this within a function.All this in JAVA

function typeOfBooleanFalse() {    let false= 5>6;  }

I made a similar one that worked=

function typeOfBooleanTrue() {    let verdadero= 5<6;}

I don't know where the difference is


Viewing all articles
Browse latest Browse all 12141

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>