Answer Posted / sreekar reddy vanguru
Mainly this() is used to avoid hidding the field varaibles
by the varaibles of the methods which are having same name..
super() is used to invoke the super class from sub class...
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How can we create objects if we make the constructor private ?
What is a generic code?
Can we extend singleton class in java?
Should you use singleton pattern?
Can a method be static?
How many types of memory areas are allocated by jvm?
What are parsers? Dom vs sax parser.
What is the difference between an if statement and a switch statement?
List some important features of java 10 release?
Is a boolean 1 bit?
Differentiate between overriding and overloading cases?
What is the difference between math floor and math round?
What are three types of loops in java?
Can we overload the main() method?
What are voids?