How are this and super used?

Answer Posted / shripal

this() keyword is use to invoke the current class.
while super() keyword is use to invoke super class.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are different types of control structures?

480


Is java written in c?

530


What are the two ways in which thread can be created?

586


What is main function purpose?

512


Explain about fail safe iterators in java?

555






what is server side caching?

1596


Difference between throw and throws?

608


what is the difference between preemptive scheduling and time slicing? : Java thread

525


Which collection is best for sorting in java?

685


Difference between static synchronization vs. Instance synchronization?

551


What does singleton mean in java?

501


What do you understand by final value?

579


What is cr keyboard?

640


What is command line argument in java?

591


Is java pass by value or pass by reference?

531