星期一, 10月 31, 2005

Homework 10-31 Lab (1) String Comparison

Write a Java program to check string equality for
String s1="I come from CYCU.";
String s2="I come from cycu.";

Can we do it with "=="?
What is the result for case-sensitive comparison?
What about case-insensitive?

5 則留言: