What is a modifier?



What is a modifier?..

Answer / 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

More Core Java Interview Questions

Is java owned by oracle?

0 Answers  


How are this() and super() used with constructors in java programming?

0 Answers  


4.1 Supply contracts (in the form of comments specifying pre- and post conditions) for the enqueue() method of the LinkedQueue class given in the Appendix. (2) 4.2 Let Thing be a class which is capable of cloning objects, and consider the code fragment: Thing thing1 = new Thing(); //(1) Thing thing2 = thing1; //(2) Thing thing3 = (Thing) thing1.clone(); //(3) Explain how the objects thing2 and thing3 differ from each other after execution of the statements. (

0 Answers  


Does it matter in what order catch statements for filenotfoundexception and ioexception are written?

0 Answers  


How can you read an integer value from the keyword when the application is runtime in java? example?

0 Answers   HCL,






Write a program to print count of empty strings in java 8?

0 Answers  


Can we sort arraylist in java?

0 Answers  


What is the arraylist in java?

0 Answers  


What is a cup of java?

0 Answers  


Can we use String with switch case?

0 Answers  


What are the advantages of java inner classes?

0 Answers  


worst case complexities of Quick sort and Merge sort.

0 Answers   Amazon,


Categories