What is the difference between this() and super()?

Answer Posted / varunkumar

this keyword is used to invoke the current class properties.
Where as super keyword is used to invoke the immidiate
super class properites.
this keyword is same name of mathed and decleare value is
used the this class

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of singleton?

605


What are 3 data types?

635


What is function and method in java?

618


What is java objectoutputstream?

626


What is final method?

689






hi am an engineering student and my next plan is for ms in either in us or australia i got my passport but i dont know anything bout visa can u give brief idea 1)How to get prepared for visa and 2)How to apply for top universities and 3)How to pay the fee and so on These all are basic questions plz give me a clear idea

1545


What does java stand for?

671


What are the two types of java programming?

640


What are three ways in which a thread can enter the waiting state in java programming?

781


List implementations of list interface?

666


State the difference between strings and arrays.

710


What is the best way to findout the time/memory consuming process?

651


What is a programming object?

656


How do you detect memory leaks?

676


What is the difference between jfc & wfc?

693