Wednesday, May 16, 2018

Technical Tip #07 - Technical Tip of the day....by JavaExpertHelp – www.JavaByKiran.com


T7: Knowledge Tip Of The Day.......
The three key characteristics of Object are
• State
• Behavior
• Identity
State:
• Instance variables value is called object state.
• An object state will be changed if instance variables value is changed.
Behavior:
• Behavior of an object is defined by instance methods.
• Behavior of an object is depends on the messages passed to it.
• So an object behavior depends on the instance methods.
Identity:
• Identity is the hashcode of an object, it is a 32 bit integer number created randomly and assigned to an object by default by JVM.
• Developer can also generate hashcode of an object based on the state of that object by overriding hashcode() method of java.lang.Object class.
• Then if state is changed , automatically hashcode will be changed.




#Java #Learn #Upgrade #Training #Classes #OnlineLecture #OnlineVideos #Pune
#Call Now to book your seat to JOIN Java Training @ 7219474925.
#Visit us @ www.JavaByKiran.com
#Java #J2EE
#Core +#Advance + #Struts +#Hibernate + #Spring + #REST + #OCJP + #OCWCD + #Maven + #Junit + #Jquery #Ajax + #XML
#Spring Boot + CI and many more ..
#Selenium
#Complete #Java + #Selenium + #TestNg + #Jenkin + #Webdriver + #Cucumber +#Maven + #DataProvider + #Keyword + #Hybrid + #POM End to End integration #Jenkin #Maven #Testng and many more ..
#JavabyKiran #Expert #Training #BestInstitute #Java #Python #Selenium #Freshers #Professionals #IT #Software #Career #Interview #Jobs#Jobopening  #BestTrainingInstituteinPune #ITCourses  #OnlineVideo  #Pune
Regards,
#Java #Learn #Upgrade #Training #Classes #OnlineLecture #OnlineVideos #Pune

No comments:

Post a Comment