function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
List<Integer> intList = new List<Integer> { 2,5,10,12,3 }; intList.sort(); Integer MaxValue = intList[intList.size()-1];
For Example:
List<Integer> myList = new List<Integer> {99,85,75,786,325};
myList.sort();
Integer MaxValue = myList[myList.size()-1];
system.debug('==MaxValue=='+MaxValue);
If it is Helpful to you...Plz Mark as Best Answer...
Thanks Regards,
Syed Jabeena
All Answers
Example:
For Example:
List<Integer> myList = new List<Integer> {99,85,75,786,325};
myList.sort();
Integer MaxValue = myList[myList.size()-1];
system.debug('==MaxValue=='+MaxValue);
If it is Helpful to you...Plz Mark as Best Answer...
Thanks Regards,
Syed Jabeena