How are this() and super() used with constructors?
Answer Posted / bhadresh
this() use to invoke only same class constructor.
super() use to invoke super class constructor.
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
How is final different from finally and finalize?
How is a structure different from array ?
What are controls and their different types in awt?
Which data type is class in java?
What does provide mean construction?
What are the legal parameters?
What is use of super keyword?
Is a char always 1 byte?
Is list ordered in java?
Define array. Tell me about 2-D array.
What is continuity of a function?
What is the default size of load factor in hashing based collection?
Write down program for following scenario. Use java coding standard. You have array list with some words in it..we will call it as dictionary….and you have a arbitrary string containing some chars in it. You have to go through each word of dictionary and find out if that word can be constructed with the help of chars from arbitrary string given. If you find the word print it else print none.
How do I get the | symbol on my keyboard?
What is the final class?