CSCI 1301

  1. Encapsulation
    the act of providing a public interface and hiding the implementation details.
  2. Every class has a public interface
    A collection of methods through which the objects of the class can be manipulated.
  3. An instance variable declaration consists of the following parts:
    •   An modifier (private) 
    •   The type of the instance variable (such as int) 
    •   The name of the instance variable (such as value)
Author
barbourmundus
ID
180774
Card Set
CSCI 1301
Description
Java basics
Updated