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, not instance .Final- 

Abstract - 

Final variable is a constant; its value cannot be changed after its initialization.



Related Posts:

  • Spring load .property file and get test.property [src/main/resource] ------------ #main kk=directory/kk main.wide=this/wide ----------spring import java.io.InputStream; import java.util.Properties; import org.springframework.context.annotation.Scope; impor… Read More
  • 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
  • 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
  • HQL One to many join query Enity Relation class Player { List<Item> inventory; } class Item { List<Enchantment> enchantments; } class Enchantment { boolean isSuperiorEnchantment; } Select Query sele… 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

0 comments:

Post a Comment