using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Linq; namespace ConsoleTest { class Program { class Test { public string Num = ""; } static void Main(string[] args) { List<Test&…
public static void main(String[] args) { ArrayList<String> list = new ArrayList<String>(Arrays.asList("a", "b", "c", "d")); for (int i = 0; i < list.size(); i++) { list.remove(i); } System.out.println…
连接mysql时报:message from server: "Host '192.168.76.1' is not allowed to connect to this MySQL server 虚拟机上面安装好MySQL,但是用工具远程连接时候,报错 处理方案:1.先用localhost方式连接到MySQL数据库,然后使用MySQL自带的数据库mysql; use mysql: 2.执行:select host from user where user = 'root'; 发现,host的值…