What is difference between add() and addelement() in vector?
Answer / Shrutkirti
{"difference": [n "add(): adds an element at the end of the list."n "addelement(): adds an element at the specified position."n]}
| Is This Answer Correct ? | 0 Yes | 0 No |
Difference in the use of print, println, and printf.
What is a parent class in java?
What is the function of http?
What is polymorphism and what are the types of it?
How do you reverse sort a list in java?
Do we have pointers in java?
Explain the difference between protected and default access.
What is the purpose of a statement block?
We have two methods to create methods the threads. 1. Implementing runnable interface 2. Extending to thread class and overriding run method. Among these two which one is better and why? Please explain me in detail.
What is the importance of main method in Java?
How can you debug the Java code?
what is singleton in java?