Java Reverse Engineering Overview

Interfaces in Java provide some of the features of multiple inheritance without the headaches of full MI. A class “extends” only a single superclass, but it can “implement” one or more interfaces. Interfaces themselves can “extend” other interfaces. An interface is not a definition of a class - it’s a definition of a set of methods that one or more classes will implement. An important issue of interfaces is that they declare only methods and constants. Variables can not be defined in interfaces.

The syntax of an interface is a subset of the syntax for a class.
During reverse engineering: Each interface declaration generates a class symbol. Interfaces which inherit from other interfaces will be linked to their super-interface’s symbol using a generalization link. A class’s implementation of an interface results in a generalization link between the class’s symbol and the interface’s symbol.

Get pdf download Java Reverse Engineering Overview

Related Tutorial

Tags: , , , , , , , , , , , ,

Comments

Leave a Reply