You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
414 B
Java
23 lines
414 B
Java
package provided._8;
|
|
|
|
import _8.Lecture;
|
|
import java.io.IOException;
|
|
|
|
public class LectureOMP {
|
|
|
|
public static void main(String[] args) {
|
|
try {
|
|
// task 1
|
|
Lecture omp = Lecture.load("omp.dat");
|
|
System.out.println(omp);
|
|
// task 2
|
|
//Lecture.saveText("omp.txt", omp);
|
|
//omp = Lecture.loadText("omp.txt");
|
|
//System.out.println(omp);
|
|
} catch (IOException e) {
|
|
e.printStackTrace();
|
|
}
|
|
}
|
|
|
|
}
|