difference between inner class and subclass

hi everyoneis there any difference between nested class( inner classes) and subclasses that are used in the context of inheritance?
[145 byte] By [mahi.ga] at [2007-11-27 6:14:27]
# 1
> hi everyone> is there any difference between nested class( inner> classes) and subclasses that are used in the context> of inheritance?yes, huge difference.
petes1234a at 2007-7-12 17:23:58 > top of Java-index,Java Essentials,New To Java...
# 2
An inner class is a class that is created inside of another class. A subclass is a class that extends another class.Yes there is a difference.
lethalwirea at 2007-7-12 17:23:58 > top of Java-index,Java Essentials,New To Java...
# 3
Check the following links, http://java.sun.com/docs/books/jls/second_edition/html/classes.doc.html http://java.sun.com/docs/books/tutorial/java/javaOO/innerclasses.html
ram102125a at 2007-7-12 17:23:58 > top of Java-index,Java Essentials,New To Java...
# 4
thanks very much for the reply......i got it
mahi.ga at 2007-7-12 17:23:58 > top of Java-index,Java Essentials,New To Java...
# 5
> thanks very much for the reply......i got itSo can an inner class extend the outer class?
Hippolytea at 2007-7-12 17:23:58 > top of Java-index,Java Essentials,New To Java...