摘要:
Write a method that will search an array of strings for all strings that contain another string, ignoring capitalization. Then return an array of the ... 阅读全文
摘要:
you must create a functionpowersthat takes an array, and returns the number of subsets possible to create from that list. In other words, counts the p... 阅读全文
摘要:
如图所示 小写的void为关键字 表示无返回值大写的Void 是用来表示void一个占位符的类 阅读全文
摘要:
1. 开始画面 android:visibility="gone"关于visibility可见(visible)XML文件:android:visibility="visible"Java代码:view.setVisibility(View.VISIBLE);不可见(invisible)XML文件:... 阅读全文
摘要:
如图所示 错误语句上面自动生成的return 方法没有删除 导致运行时直接返回 无法继续往下执行改正:删除该语句 阅读全文
摘要:
不能更新的原因: 1.在xml文件中代码错误或者格式错误 2.eclipse 编译器是老版本 3.布局文件的文件名有大写字母 4.含有相同文件名、格式的xml文件解决方法: 1.找到出错的xml文件中的错误代码格式改正,并执行p... 阅读全文
摘要:
阅读全文
摘要:
错误原因:this在同一个类中才能直接使用 不用加上前面的类名。而本程序this在类名外 需要加上类名修改后: 阅读全文
摘要:
运行后 手机点击获取分辨率按钮后 程序崩溃原因:String赋值给int的resId,所以编译器找不到正确的resource在这个程序中 获取的分辨率为Int类型 所以报错 在后面加+""即可修改后的代码 阅读全文
摘要:
关于Permission的使用 :图一 和 图二区别???? 阅读全文