1. Abstraction Abstraction helps to hide the non essential features from the user and makes the application user friendly. Eg. Take your mobile phone. You are having buttons and know the purpose but no need to understand how it prints number on the screen when it is pressed. 2. Encapsulation It bundles the code into a single unit which makes the code very easy to handle. Eg. Take computer keyboard. All the buttons have been enclosed. 3. Inheritance It helps to inherit the superclass properties to subclasses. Eg. Father - Son relationship. 4. Polymorphism A entity which behaves differntly at different places. Eg. A person behaves as a good husband in family. He behaves as a good employee at company. He also behaves as a good citizen in public
Interface is a reference type which consists of only method declarations and constants. All methods in interface by default public abstract and all fields are public static final eventhough it has not been mentioned explicitly. Example: public interface Car { int wheel=4; int paintCar(String color); int driveCar(); }
Asynchronous messaging describes communications that takes place between two applications or systems, where the system places a message in a message queue (called an Event Queue in enterprise messaging systems ) and does not need to wait for a reply to continue processing. Contrast with synchronous messaging .
Comments
Post a Comment