- class that is declared using “abstract” keyword;
- may or may not include abstract methods ( has no body)and concrete methods (methods with body) ;
- we can not allowed to create object of Abstract class,
- An abstract class has no use until unless it is extended by some other class ,logic behind structuring inheritance property for project[animal-dog,cow].
- it provides partial abstraction only,100% abstraction - interface.
See --
Interface ,
abstraction VS interface
Related Posts:
SQL TABLE -MAPPING- FOREIGN KEY RELATION
CREATION & DROP
//Table-----------------Application---------
DROP TABLE IF EXISTS `myschema`.`application`;
CREATE TABLE `myschema`.`application` (
`APPLICATION_ID` int(11) unsigned NOT NULL AUTO_INCREM… Read More
MAVEN
Prepare Eclipse
project folder -->mvn eclipse:eclipse
Normal Clean
project folder -->mvn clean;
Normal Build
project folder -->mvn install;
Normal Clean and Buil… Read More
Access Modifiers – Public, Private, Protected & Default
Public - This is the least restrictive,accessible to entire project;
Default - If no access modifier is specified in the declaration, accessible only within package,not accessible in other packages … Read More
Access Modifiers 2 – Static,Abstract,Final
Static- Variables are calling Class variables. These members belong to the class not to the object,means values of these variables are not part of the object state.creating its while initiating class, … Read More
Abstract class
class that is declared using “abstract” keyword;
may or may not include abstract methods ( has no body)and concrete methods (methods with body) ;
we can not allowed to create object of Abstract class,
An … Read More
0 comments:
Post a Comment