• Home
  • Java
  • 2D Graphics GUI
  • 3D
  • Advanced Graphics
  • Ant
  • Apache Common
  • Chart
  • Class
  • Collections Data Structure
  • Data Type
  • Database SQL JDBC
  • Design Pattern
  • Development Class
  • EJB3
  • Email
  • Event
  • File Input Output
  • Game
  • Generics
  • GWT
  • Hibernate
  • I18N
  • J2EE
  • J2ME
  • JavaFX
  • JDK 6
  • JDK 7
  • JNDI LDAP
  • JPA
  • JSP
  • JSTL
  • Language Basics
  • Network Protocol
  • PDF RTF
  • Reflection
  • Regular Expressions
  • Scripting
  • Security
  • Servlets
  • Spring
  • Swing Components
  • Swing JFC
  • SWT JFace Eclipse
  • Threads
  • Tiny Application
  • Velocity
  • Web Services SOA
  • XML

SuperClass « Reflection « Java






  1. Java
  2. Reflection
  3. SuperClass
1.Getting the Superclass of an Object
2.Superclass of Object is null
3.The superclass of primitive types is always null
4.Although the type of o2 is an interface, getSuperclass() returns the object's superclass
5.Retrieving other information through the class pointer
6.Return true if class a is either equivalent to class b, or if class a is a subclass of class b, i.e. if a either "extends" or "implements" b.
7.Allows the user to reflectively inspect an object hierarchy

java2s.com  | © Demo Source and Support. All rights reserved.