摘要:
好像c/c++里面也有这个东西,不过用的不多。 阅读全文
摘要:
public class Example_01 { public static void main(String[] args) { // TODO Auto-generated method stub try { FileOutputStream fs = new FileOutputStream("word.txt"); ... 阅读全文
摘要:
System.out.println(System.getProperty("user.dir")); 阅读全文
摘要:
public class Student { public static void main(String[] args) { // TODO Auto-generated method stub String content[] = {"好久不见","最近好吗","常联系",}; File file = new File("word.t... 阅读全文
摘要:
public class Ftest extends JFrame{ private static final long sertalVersionUID = 1L; private JPanel jContentPane = null; private JTextArea jTextArea = null; private JPanel controlPane ... 阅读全文
摘要:
public class MapText { public static void main(String[] args) { // TODO Auto-generated method stub Mapmap = new HashMap(); Emp emp = new Emp("351", "张三"); ... 阅读全文
摘要:
public class updateStu { public static void main(String[] args) { // TODO Auto-generated method stub Mapmap = new HashMap(); map.put("01","李同学"); map.put("02", "魏同... 阅读全文
摘要:
public class UpdateStu implements Comparable{ String name; long id; public UpdateStu(String name,long id) { // TODO Auto-generated constructor stub this.id = id; ... 阅读全文
摘要:
public class Gather { public static void main(String[] args) { // TODO Auto-generated method stub LinkedList stringList = new LinkedList(); stringList.add("a"); s... 阅读全文
摘要:
final JTextField jt = new JTextField(); jt.getText().trim().toString(); 阅读全文