How does indexof work?
Answer / Priya Singh
indexOf in Java is a method used to find the index of a specific character or substring within a String. If found, it returns the first index; otherwise, it returns -1.
| Is This Answer Correct ? | 0 Yes | 0 No |
How does hashmap work in java ?
Differentiate between a constructor and a method? Can we mark constructors final?
which one the better thread emplemented thread or extended ?
what really hapens when a object is created using new operator? 1.is it allocates memory to all variables and methods in the class with reference to that object?
What are the steps to do connection pooling in weblogic?
what is the purpose of "virtual"?
What is difference between calling start() and run() method of thread?
What is meant by class loader? How many types are there? When will we use them?
Can you pass functions in java?
What is string immutability?
How do you implement polymorphism in our day to day life?
What is singleton pattern?