Glossary

 

  1. Method       -        A method is a set of code which is referred to by name and can be called (invoked) at any point in a program simply by utilizing the method's name

 

  1. Constructor - A constructor is a special method that is used to initialize a newly created object and is called just after the memory is allocated for the object. It can be used to initialize the objects, to required, or default values at the time of object creation.

 

  1. Inheritance - Inheritance is a compile-time mechanism in Java that allows you to extend a class (called the baseclass or superclass) with another class (called the derived class or subclass).

 

  1. Abstract     - If a class implements an interface and does not implement all its methods, it must be marked as abstract. If a class is abstract, one of its subclasses is expected to implement its unimplemented methods.

<<< Prev


Java Packages and Interfaces