Skip to content

Commit 2233e20

Browse files
committed
feb15
1 parent 0b65e5e commit 2233e20

38 files changed

Lines changed: 79 additions & 185 deletions

Later/Number/WrapperClass_3/WrapperClassDemo/.classpath renamed to BasicJava/AbstractClassDemo_normal_method_App/AbstractClassDemo/.classpath

File renamed without changes.

Later/Number/WrapperClass_4/WrapperClassDemo/.project renamed to BasicJava/AbstractClassDemo_normal_method_App/AbstractClassDemo/.project

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<projectDescription>
3-
<name>WrapperClassDemo</name>
3+
<name>AbstractClassDemo</name>
44
<comment></comment>
55
<projects>
66
</projects>

Later/Number/WrapperClass_3/WrapperClassDemo/.settings/org.eclipse.jdt.core.prefs renamed to BasicJava/AbstractClassDemo_normal_method_App/AbstractClassDemo/.settings/org.eclipse.jdt.core.prefs

File renamed without changes.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
abstract class A
2+
{
3+
abstract void hi();
4+
5+
void bye()
6+
{
7+
System.out.println("Bye...");
8+
}
9+
10+
}
11+
12+
class B extends A
13+
{
14+
void hi()
15+
{
16+
System.out.println("hi...");
17+
}
18+
19+
}
20+
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
public class AbstractClassTest
2+
{
3+
4+
public static void main(String[] args)
5+
{
6+
B b = new B();
7+
b.hi();
8+
b.bye();
9+
}
10+
11+
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
hi...
2+
Bye...

Later/Number/WrapperClass_4/WrapperClassDemo/.classpath renamed to BasicJava/AbstractClassDemo_when_to_use_App/AbstractClassDemo/.classpath

File renamed without changes.

0 commit comments

Comments
 (0)