OOPs:
Classes--The "Blueprints" for an object and the actual code that defines the properties and methods.
Objects-- Running instances of a class that contain all the internal data and state information needed for your application to function.
Inheritance-- The ability to define a class of one kind as being a subtype of a different kind of class (much the same way a square is a kind of rectangle)
Polymorphism-- Allows a class to be defined as being a member of more than one category of classes (just a car is a "thing with an engine" and "a thing with wheels")
Interfaces-- A way of specifying that an object is capable of doing something without actually defining how it is to be done (e.g a dog and a human are "things that walk" but they do it very differently )
Encapsulation-- The ability of an object to project access to its internal data.
Subscribe to:
Post Comments (Atom)
Java 1.7 New Features Over 1.6
Automatic Resource Management Description: A proposal to support scoping of resource usage in a block with automatic resource cleanup. T...
-
Differences between Struts and Springs Springs: · Dependency Injection · Inversion of Control · Transaction ...
-
Creating a custom list view – a custom layout, a custom row layout and how we bind the custom data holder to these layouts. So, here we ...
-
Hello, Retrieving multiple result sets and OUT Parameters by passing IN Parameter from a stored procedure in a JDBC application. Connect...
No comments:
Post a Comment