ALGO 2 (Pert 6) Abstract and Interface

ABSTRACT & INTERFACE
A = abstract
G =generic
I =Interface

Interface : akses subclass nya menggunakan implements.

Abstract
Variable : free , no limit , no retriction
Contructor : bisa menggunakan konstructor
Method : free , limit

Interface
Variable : menggunakan public static final
Constructor : tidak bisa membuat kontruktor karna hanya mengimplementasikan.
Method : harus public abstract.

www.binus.ac.id

www.skyconnectiva.com

Leave a Reply

Your email address will not be published. Required fields are marked *