SEARCH
You are in browse mode. You must login to use MEMORY

   Log in to start


From course:

4IT101 - ZT

» Start this Course
(Practice similar questions for free)
Question:

Máme dva textové řetězce:String s1="Praha"; String s2="praha"; Které vrátí hodnotu True ? - s1.length() == s2.length() - s1.length() != s2.length() - s1.toUpperCase().equals (s2.toUpperCase(); - s1.equals(s2)

Author: Karel Marčík



Answer:

- s1.length() == s2.length() - s1.toUpperCase().equals (s2.toUpperCase();


0 / 5  (0 ratings)

1 answer(s) in total