Westonci.ca is the best place to get answers to your questions, provided by a community of experienced and knowledgeable experts. Connect with a community of experts ready to help you find solutions to your questions quickly and accurately. Explore comprehensive solutions to your questions from knowledgeable professionals across various fields on our platform.

Debug the code provided in the starter file so it does the following:
creates an int with the maximum possible value
increases this int by 1
prints the result
creates an int with the minimum possible value
decreases this int by 1
prints the result
----------------------------------
Code:
public class U2_L7_Activity_One
{
public static void main(String[] args)
{
long a = Long.MAX_VALUE();
a + 1;
System.out.println(a);
long b = Long.MIN;
b - 1;
System.out.println('b');
}
}


Sagot :

Djejeje djejeje Rene r