摘要:
如果我们想拷贝一个数组,我们可能会使用System.arraycopy()或者Arrays.copyof()两种方式。在这里,我们将使用一个比较简单的示例来阐述两者之间的区别。 首先先说System.arraycopy() 接下来是代码 int[] arr = {1,2,3,4,5}; int[] 阅读全文
posted @ 2017-11-29 23:09
刘羽轩讲故事
阅读(6974)
评论(2)
推荐(1)
摘要:
我们当中可能有很多人不知道如何获得jsp中的路径怎么获取 方法一: <a href ="test.jsp?p=fuck">跳转到test2</a> 方法二: <%String path = request.getContextPath();String basePath = request.getS 阅读全文
posted @ 2017-11-29 23:07
刘羽轩讲故事
阅读(6796)
评论(0)
推荐(0)

浙公网安备 33010602011771号