信息检索是一门学科,所有与信息搜索有关的都可以归为信息检索,比如你到图书馆找你想要的书也是信息检索的一个方向;web数据挖掘一般现在分为两大类,一类关系知识挖掘,就是发现网络连接的内在模式,一类是内容知识挖掘,内容知识挖掘可以划分为结构型、半结构型以及非结构型挖掘,文本挖掘属于非结构型挖掘。public class test { private static final double gr**ity = 9.8; //重力加速度 public double getd**placement(int speed,int time ){//根据公式得到位移 return time*time*gr**ity/2+speed*time; } public static void main(string[] args) { test test = new test(); system.out.println(test.getd**placement(10,100)); }}追问得用文本数据流的方式编啊 先谢谢你了回答import j**a.io.fileinputstream;import j**a.io.inputstream;import j**a.io.fileoutputstream;import j**a.io.objectoutputstream;import j**a.io.outputstream;import j**a.io.serializable;public class properties implements serializable{ private int time=100; private int speed=10; public int gettime() { return time; } public void settime(int time) { th**.time = time; } public int getspeed() { return speed; } public void setspeed(int speed) { th**.speed = speed; } public static void main(string[] args) throws exception{ properties p = new properties(); outputstream out = new fileoutputstream("d:/test.txt"); objectoutputstream os = new objectoutputstream(out); os.writeobject(p); os.close(); }}import j**a.io.objectinputstream;import j**a.io.serializable;public class test { private static final double gr**ity = 9.8; //重力加速度 public double getd**placement(int speed,int time ){//根据公式得到位移 return time*time*gr**ity/2+speed*time; } public static void main(string[] args) throws exception{ test test = new test(); inputstream in = new fileinputstream("d:/test.txt"); objectinputstream os = new objectinputstream(in); properties p = (properties)os.readobject(); os.close(); system.out.println(test.getd**placement(p.getspeed(),p.gettime())); }} 20210311