What is a modifier?

Answer Posted / harendra pal

A modifier, also called a modifying function is a member function that changes the value of at least one data member. In other words, an operation that modifies the state of an object. Modifiers are also known as ‘mutators’.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are bind parameters?

546


What is super constructor?

546


What access modifiers can be used for methods?

555


What do you mean by boolean?

574


What is an example of a conditional statement?

562






Explain the advantages of packages in java?

513


What is nextint java?

545


How many types of parsers are there?

542


Is null a keyword in java?

553


Why map is used in java?

573


Can you create an object of an abstract class?

549


What is a instance variable?

579


What's the access scope of protected access specifier?

531


What are the different data types in java?

530


What are the main concepts of oops in java?

593