Posts by Teker • 963 points
4 posts
-
2
votes2
answers284
viewsA: How to calculate division using subtraction operation only?
You didn’t post the error that gives you, however looking at your code I think I shouldn’t be putting so many functions Divisão(), remove this. I’ll give you the first block of if to see how it…
-
1
votes1
answer590
viewsA: Error message: "Unfortunately has stopped eclipse"
It can be a lot, However, this android:orientation is there the more this is for Linearlayout. Of course, you’re not supposed to crash the Eclipse. Sometimes it is better to Peder 20 min and make a…
-
2
votes2
answers154
viewsA: Variable equal to itself if the logic result is false
Your second example is the best to do, since, you say that to have the value $b you have to make calculations the best is to store temporarily in the variable so as not to waste time repeating the…
-
81
votes5
answers3667
viewsQ: Is there any downside to always capturing Exception and not something more specific?
When I write code in Java and try to treat exceptions I usually simply use the superclass Exception, not linking to the specific class and it usually works. There is some inconvenience in doing…