Interview Questions and Answers - Order By Newest Q3171. how to switch to the parent webpage?
This question was recently asked at 'Walmart'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q3172. What can be done to protect the application from DDOS attack ? Security
Ans. We can set the max number of requests from a given IP or an IP range
We can set the time out so that a single request cannot hold on to resources for too long.
We can identify patterns ( like too many requests from single IP for single page ) and then block such requests. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  DDOS  security vulnerability Q3173. What is your opinion about caching ? Design
Ans. Caching is a mechanism that provides faster access but at the cost of additional space. Caching is good if we need faster access and if it takes extensive processing to come to a value which doesn't gets changed frequently.
Caching could be an overhead if we don't need fast access or if the processed value changes too frequently. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Q3174. What are Hooks in programming and Design Patterns ? Design
This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  Ans. SNMP or Simple Network Management protocol is an application layer protocol for exchanging management information between network devices.
Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 15 Companies Q3176. what is dynamic method dispatch
This question was recently asked at 'HSBC Technology India'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q3177. what is green threads
This question was recently asked at 'HSBC Technology India'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q3178. What is java machine control
This question was recently asked at 'HSBC Technology India'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q3179. What is a composite primary key and foreign key ? Database
Ans. The combination of values from multiple columns in the composite primary key must be unique for each row in the table.
A foreign key, on the other hand, is a field or set of fields in one table that refers to the primary key in another table. It establishes a relationship between two tables based on the values of the foreign key and the primary key. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q3180. What is ado.net ? C#
This question was recently asked at 'jibe development services'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q3181. What is the use of toString method ? Core Java
This question was recently asked at 'Jibe Technology Services'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q3182. How multiple catch block works ? Core Java
This question was recently asked at 'Capgemini'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q3183. How does Garbage Collector work? What are the realizations of Garbage Collector. Core Java
This question was recently asked at 'ExpertSoft'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q3184. How to build applications and integrate with jenkins? Jenkins
This question was recently asked at 'Capgemini India'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q3185. What is the O notation for the ArrayList and List? And which one would you choose to insert item in the middle? Data Structure
This question was recently asked at 'ExpertSoft'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Ans. Using Collections.sort() Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q3187. Differentiate osi and tcp/ip models and describe them Networking
This question was recently asked at 'Informatica'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies This question was recently asked at 'Informatica'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q3189. What is size of structure in c ? C++
This question was recently asked at 'Informatica'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q3190. What are reference variables in c C++
This question was recently asked at 'Informatica'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q3191. Explain memory allocation and deallocation. C++
This question was recently asked at 'Informatica'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q3192. How many threads can access a concurrent hashmap when the hashcode is overridden and always returns a zero. Data Structure
Ans. The impact of both cases (fixed hashcode or random hashcode for keys) will have same result and that is "unexpected behavior". The very basic need of hashcode in HashMap is to identify the bucket location where to put the key-value pair, and from where it has to be retrieved.
If the hashcode of key object changes every time, the exact location of key-value pair will be calculated different, every time. This way, one object stored in HashMap will be lost forever and there will be very minimum possibility to get it back from map.
For this same reason, key are suggested to be immutable, so that they return a unique and same hashcode each time requested on same key object. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q3193. Difference between Tomcat and IBM Websphere. Server
This question was recently asked at 'MagicBricks Noida'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q3194. All the meaningful words that can be formed from a phone keypad
This question was recently asked at 'Oracle'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q3195. What are the disadvantages of Maven ? Maven
Ans. Maven requires installation in the working system and the Maven plug-in for the IDE.
If the Maven code for an existing dependency is unavailable, you cannot add that dependency using Maven itself.
Some sources claim that Maven is slow. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q3196. Write a program to find the intersection of four rectangles provided.
This question was recently asked at 'Samsung India'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q3197. How to find if any employees address is null or not during Junit testing JUnit
Ans. By using assertNotNull(employee_address) Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q3198. How to find the duplicate elements in the list given
Ans. use collections.frequency() method to find out the frequency, if it is greater than 1 then it is a duplicate element. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q3199. Find the duplicate numbers and missing numbers in a given array of n numbers
This question was recently asked at 'Samsung India'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q3200. FInd the longest palindrome in a given string
This question was recently asked at 'Samsung India'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies