Greater Of Two Values - Java Fundamentals
Здравейте, откривам грешка в условието на следната задача:
1.Greater of Two Values
You are given two values of the same type as input. The values can be of type int, char of String. Create a method getMax() that returns the greater of the two values:
Examples
| Input | Output | 
| int 2 16 | 16 | 
| char a z | z | 
| String Ivan Todor | Todor | 
Когато се въвежда тип String, в решението съответния случай трябва да се впише с малки букви "String", за да даде 100/100 в Judje. Вписвайки го с главна, дава грешки.