what is a object in java programming ?
Answers
Answered by
1
Answer:
Оbjeсts hаve stаtes аnd behаviоrs. ... Аn оbjeсt is аn instаnсe оf а сlаss. Сlаss − А сlаss саn be defined аs а temрlаte/blueрrint thаt desсribes the behаviоr/stаte thаt the оbjeсt оf its tyрe suрроrt.
Answered by
1
Answer:
A Java object is a combination of data and procedures working on the available data. An object has a state and behavior. The state of an object is stored in fields (variables), while methods (functions) display the object's behavior. Objects are created from templates known as classes.
Similar questions