im gonna talk about the concept of java programming.
this is the most important part of Java learning because without knowing these concepts are just a waste of time leaning java.
Concepts of Object Oriented Programming Language( this is what java is).
Java has Objects...
Objects are the building blocks of the application, it contains the functionality of the application.
without objects is like a person or human without blood.
Java has Classes...
Classes are the blueprints of objects. its like the type of the objects.
Objects are instance of a class.
Java's Inheritance...
inheritance is from the word itself. it is the connection or the relationship of the classes to other classes.
Kinds of Inheritance:
Extends
is making a super class of the subclass class of an object.
its like an inheritance tree.
Dog -> extends -> animal
Dog is the Super Class and animal is the subclass. what if there is a tree classes? here's how it goes.
A extends B extends C
A -> B -> C
A is the Superclass of B and C
B is the Immediate Class of C
and C is the Sublcass of class A and B.
Implements
classes that has a functionality to be conducted.
like designing a gui app using swing package. we will be using the Implement keywords.
Congratulations... you have acquired a certain level to enable your skills to be a Java Master.
Cask of Amontillado - Short Story
-
*this is my favorite Short Story of all time written by Edgar Allan Poe*
Enjoy!The thousand injuries [bad treatment] of Fortunato I had borne
[tolerated] as...
15 years ago
No comments:
Post a Comment