From d48267bcbf0d43475963e0acf242c689acb55ac5 Mon Sep 17 00:00:00 2001 From: Ceiling_roof <48134466+ResilientSpring@users.noreply.github.com> Date: Sat, 27 Nov 2021 17:13:04 +0800 Subject: [PATCH 1/2] Committed 2021/11/27 --- Chapter8/Interface/ICharQ.java | 10 ++++++++++ Chapter8/Interface/IQDemo.java | 10 ++++++++++ 2 files changed, 20 insertions(+) create mode 100644 Chapter8/Interface/ICharQ.java create mode 100644 Chapter8/Interface/IQDemo.java diff --git a/Chapter8/Interface/ICharQ.java b/Chapter8/Interface/ICharQ.java new file mode 100644 index 0000000..4e2c8d9 --- /dev/null +++ b/Chapter8/Interface/ICharQ.java @@ -0,0 +1,10 @@ +package Interface; + +public class ICharQ { + + public static void main(String[] args) { + // TODO Auto-generated method stub + + } + +} diff --git a/Chapter8/Interface/IQDemo.java b/Chapter8/Interface/IQDemo.java new file mode 100644 index 0000000..5cc181a --- /dev/null +++ b/Chapter8/Interface/IQDemo.java @@ -0,0 +1,10 @@ +package Interface; + +public class IQDemo { + + public static void main(String[] args) { + // TODO Auto-generated method stub + + } + +} From a79493fa31b83fad53be07f2d9e00c093f0771db Mon Sep 17 00:00:00 2001 From: Ceiling_roof <48134466+ResilientSpring@users.noreply.github.com> Date: Sun, 9 Jan 2022 01:30:15 +0800 Subject: [PATCH 2/2] Committed 2022/01/08 --- .classpath | 1 + Chapter11/Multi_threaded_programming.java | 26 +++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 Chapter11/Multi_threaded_programming.java diff --git a/.classpath b/.classpath index f560dd4..d2572c4 100644 --- a/.classpath +++ b/.classpath @@ -19,5 +19,6 @@ + diff --git a/Chapter11/Multi_threaded_programming.java b/Chapter11/Multi_threaded_programming.java new file mode 100644 index 0000000..06967bd --- /dev/null +++ b/Chapter11/Multi_threaded_programming.java @@ -0,0 +1,26 @@ +// Create a thread by implementing Runnable. +public class Multi_threaded_programming { + + public static void main(String[] args) { + // TODO Auto-generated method stub + + } + +} + +class MyThreaded implements Runnable { + + String thread_nameString; + + public MyThreaded(String name) { + // TODO Auto-generated constructor stub + thread_nameString = name; + } + + @Override + public void run() { + // TODO Auto-generated method stub + + } + +}