সম্পাদনা
public class Main { public static void main(String[] args) { String hello = "হ্যালো"; String world = "বিশ্ব"; int result = hello.compareTo(world); System.out.println(result); } }
পূর্বরূপ