Posts by user28605 • 73 points
1 post
-
7
votes1
answer236
viewsQ: What is the usefulness of the ! operator in Java?
In a if(!aplicaDescontoDe(valor)); in which the method aplicaDescontDe is a boolean, how it works not understood? In that Example: public boolean aplicaDescontoDe(double porcentagem) {…