Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Ryan Anderson   on Aug 21 In Java Category.

  
Question Answered By: Terence Mitchell   on Aug 21

It can be done in a simpler way like -

int x, y;
x = 7;
y = 5;
int z = -1 * (0 - x - y);

Isn't it?

Share: 

 

This Question has 11 more answer(s). View Complete Question Thread

 


Tagged: