- 2023-03-21Java入门_一维数组_第一题_升序数组
声明咱是个新手,没啥技术只会最基础的,见谅哈。更简化的方法还请大佬指教。题目:已知有个升序数组的数组,要插入一个元素,该数组顺序依然是升序。例如:{25,49,74,
- 2023-01-14Java数组动态扩容和动态缩减
数组动态扩容:packagecom;importjava.lang.String;importjava.util.Scanner;publicclassLinghu{publicstaticvoidmain(String[]args){intarr[]={1,2,3
- 2022-11-24js提取对象数组中的某一个属性组成新数组
例:1arrold=[23{name:"name1",age:"1"},4{name:"name2",age:"2"},5{name:"name3",age:"3"},6{name:"name4",age:"4"},