what is the function of 'this' operator ?

Answer Posted / bhawna

Basically "this" opertaor is a part of instance variable
hiding,when a local variable has the same name as an
instance variable,the local variables hides the instance
variables

Is This Answer Correct ?    21 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is overriding in oops?

824


Prepare me a program for the animation of train

2221


What is multilevel inheritance?

950


What is polymorphism explain its types?

918


Is oop better than procedural?

768


What is the problem with multiple inheritance?

823


Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.

952


What are the benefits of oop?

863


What is interface? When and where is it used?

1877


What is the use of oops?

796


Is abstract thinking intelligence?

794


write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory

2981


What is destructor example?

772


What is polymorphism and example?

774


Where You Can Use Interface in your Project

1618