Operator : While Loop : For Loop :  Arrays : Code : public class FirstJavaClass { public static void main(String[] args) { int arr[] = new int[5]; arr[0]=78; arr[1]=980; arr[2]=98; arr[3]=9; arr[4]=765; System.out.println(arr[2]); System.out.println(…
Download Java : https://java.com/en/download/ Download Eclipse : https://www.eclipse.org/downloads/ Code : public class FirstJavaClass { // function public static void main(String[] args) { System.out.println("hello world"); // syso -> cntrl+…
Static and non-Static :  非静态方法(不带static)可以访问静态变量和方法(带static),但是反过来就不行. 类的静态成员(变量和方法)属于类本身,在类加载的时候就会分配内存,可以通过类名直接去访问. 非静态成员(变量和方法)属于类的对象,只有在类的对象产生(创建实例)的时候才会分配内存,然后通过类的对象去访问. 在一个类的静态成员中去访问非静态成员之所以会出错是因为在类的非静态成员不存在的时候静态成员就已经存在了,访问一个内存中不存在的东西会出错. 静态变量和方…
Building test suites, Test cases and Test steps in SOAP UI Levels : test step level test case level test suite level project level Groovy script test step Write groovy code in groovy script test step log object in SOAP UI Info and error log log.error…
Java – How to join Arrays In this article, we will show you a few ways to join a Java Array. Apache Commons Lang – ArrayUtilsJava APIJava 8 Stream1. Apache Commons Lang – ArrayUtilsThe simplest way is add the Apache Commons Lang library, and use Arra…
What is a web service? http://webservicex.net/ws/default.aspx WebService是一种跨编程语言和跨操作系统平台的远程调用技术. 跨编程语言 : 服务端程序采用java编写,客户端程序则可以采用其他编程语言编写,反之亦然! 跨操作系统平台 : 服务端程序和客户端程序可以在不同的操作系统上运行. 远程调用 : 一台计算机a上的一个程序可以调用到另外一台计算机b上的一个对象的方法. 譬如,银联提供给商场的pos刷卡系统,商场的POS机转…
package com.file.properties; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.util.ArrayList; import java.util.Collections; import java.util.Date; import java.util.Has…
读取以下两种格式的Excel : *.xls  and *.xlsx 用Apache POI API来实现,需要用到 HSSF 和 XSSF 的类库 HSSF is the POI Project's pure Java implementation of the Excel '97(-2007) (.xls) file format. XSSF is the POI Project's pure Java implementation of the Excel 2007 OOXML (.xls…
package com.file.properties; import java.io.FileInputStream; import java.util.Properties; public class ReadProperties { Properties prop; public ReadProperties(String path) { prop = new Properties(); try{ FileInputStream fs = new FileInputStream(path)…
任意门:http://acm.hdu.edu.cn/showproblem.php?pid=6336 Problem E. Matrix from Arrays Time Limit: 4000/2000 MS (Java/Others)    Memory Limit: 262144/262144 K (Java/Others)Total Submission(s): 1711    Accepted Submission(s): 794 Problem Description Kazari…