A B C D E F G I L M S T U W X

A

a() - Method in class Exercise8_5
 
a() - Method in interface Interface1
 

B

b() - Method in class Exercise8_5
 
b() - Method in interface Interface1
 

C

ConcreteClass - class ConcreteClass.
Part of setup for exercise 8.5
ConcreteClass() - Constructor for class ConcreteClass
Constructor for objects of class ConcreteClass
c(int) - Method in class Exercise8_5
 
c(int) - Method in interface Interface2
 

D

d(int) - Method in class Exercise8_5
 
d(int) - Method in interface Interface2
 

E

Exercise8_1 - class Exercise8_1.
Exercise 8.1 from the book.
Exercise8_1() - Constructor for class Exercise8_1
 
Exercise8_2 - class Exercise8_2.
Testing use of interface in different package
Exercise8_2() - Constructor for class Exercise8_2
Constructor for objects of class Exercise8_2
Exercise8_2(float, String) - Constructor for class Exercise8_2
Constructor for objects of class Exercise8_2
Exercise8_5 - class Exercise8_5.
Exercise 8.5 from the book.
Exercise8_5() - Constructor for class Exercise8_5
 
e(float) - Method in class Exercise8_5
 
e(float) - Method in interface Interface3
 

F

f(float) - Method in class Exercise8_5
 
f(float) - Method in interface Interface3
 

G

g() - Method in class Exercise8_5
 
g() - Method in interface Interface123
 
getLatinName() - Method in class Exercise8_2
Gets the Latin name
getWeight() - Method in class Exercise8_2
Gets the weight.
getX() - Method in class Exercise8_1
 
getX() - Method in interface TestInterface
 

I

Interface1 - interface Interface1.
Test interface 1.
Interface123 - interface Interface123.
Test interface 123 uses three other interfaces
Interface2 - interface Interface2.
Test interface 2
Interface3 - interface Interface3.
Test interface 3

L

latinName - Variable in class Exercise8_2
Latin name of animal

M

main(String[]) - Static method in class Exercise8_1
Main method that creates an object.
main(String[]) - Static method in class Exercise8_2
Main method for exercising the code.
main(String[]) - Static method in class Exercise8_5
 

S

setWeight(float) - Method in class Exercise8_2
Sets the weigth

T

TestInterface - interface TestInterface.
For testing interface variables are final and static
toString() - Method in class Exercise8_2
Overridding of toString method

U

use1(Interface1) - Method in class Exercise8_5
 
use123(Interface123) - Method in class Exercise8_5
 
use2(Interface2) - Method in class Exercise8_5
 
use3(Interface3) - Method in class Exercise8_5
 

W

weight - Variable in class Exercise8_2
Weight in kilos

X

x - Variable in class ConcreteClass
instance variables - replace the example below with your own
x - Static variable in interface TestInterface
 

A B C D E F G I L M S T U W X