Question: What do the bolded statements mean? What does each symbol do? I.e. what does the ? after the ) do? This is in Java. Thanks

What do the bolded statements mean? What does each symbol do? I.e. what does the ? after the ) do? This is in Java. Thanks for your help!

int n; int d;

denominator = Math.abs(d);

numerator = (d > 0)? n: -n;

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!