自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(3)
  • 收藏
  • 关注

原创 递归算法兔子问题

递归算法题目:有一对兔子,从出生后第3个月起每个月都生一对兔子,小兔子长到第三个月后每个月又生一对兔子,假如兔子都不死,问每个月的兔子总数为多少? public class rabbit { public static void main(String[] args) { System.out.println("输入月份"); Scanner sc=new Scanner(System.i...

2019-11-30 23:12:34 1258

原创 写了一个输入3个字符 输出所有排序的方法

写了一个输入3个字符 输出所有排序的方法 public static void main(String[] args) { String str = "abc"; char[] arr0 = str.toCharArray(); char[] arr1= new char[arr0.length*2]; System.arraycopy( arr0, 0, arr1, 0,arr0.len...

2019-11-27 01:24:59 362

原创 记录一个引用类型题目

记录一个引用类型题目 Customer customer1 = new Customer(); customer1.setName("aaa"); List<Customer> listTest = new ArrayList<Customer>(); listTest.add(customer1); Map<String,...

2019-11-24 19:41:48 112

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除