Java开发经典面试题

  1. 重写与重载的区别重写与重载的区别_重写和重载_carrie呀carrie的博客-CSDN博客。。。。。。。。。。。https://blog.csdn.net/luoro/article/details/118307852?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522167875749216800211587145%2522%252C%2522scm%2522%253A%252220140713.130102334..%2522%257D&request_id=167875749216800211587145&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2~all~top_positive~default-1-118307852-null-null.142%5Ev73%5Econtrol,201%5Ev4%5Eadd_ask,239%5Ev2%5Einsert_chatgpt&utm_term=%E9%87%8D%E8%BD%BD%E5%92%8C%E9%87%8D%E5%86%99%E7%9A%84%E5%8C%BA%E5%88%AB&spm=1018.2226.3001.4187
  2. String是否是基本数据类型 String的到底是基本数据类型还是引用数据类型?_string是引用数据类型吗_T-OPEN的博客-CSDN博客关于String为值类型还是引用类型的讨论一直没有平息,最近一直在研究性能方面的问题,今天再次将此问题进行一次明确。希望能给大家带来点帮助。 如果有错误请指出。来看下面例子:复制代码复制代码//值类型int a = 1;int b = a;a = 2;Console.WriteLine(“a is {0},b is {1}”, a, b);//字符串string str1 = ...https://blog.csdn.net/weter_drop/article/details/94126057?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522167875883216782425153412%2522%252C%2522scm%2522%253A%252220140713.130102334.pc%255Fall.%2522%257D&request_id=167875883216782425153412&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2~all~first_rank_ecpm_v1~rank_v31_ecpm-4-94126057-null-null.142%5Ev73%5Econtrol,201%5Ev4%5Eadd_ask,239%5Ev2%5Einsert_chatgpt&utm_term=String%E6%98%AF%E5%90%A6%E6%98%AF%E5%9F%BA%E6%9C%AC%E6%95%B0%E6%8D%AE%E7%B1%BB%E5%9E%8B&spm=1018.2226.3001.4187
  3. 为什么重写 equals 还要重写 hashcode?

你可能感兴趣的:(java,面试)