Collections are used in every programming language and initial java release contained few classes for collections: Vector, Stack, Hashtable, Array. But looking at the larger scope and usage, Java 1.2 came up with Collections Framework that group all the collections interfaces, implementations and alg...
Java 8 has been released in March 2014, so it’s one of the hot topics in java interview questions. If you answer this question clearly, it will show that you like to keep yourself up-to-date with the latest technologies. Java 8 has been one of the biggest releases after Java 5 anno...
Functional interfacescompletely changed how we look at both fundamental building blocks of Java language. You cannot skip this question if your resume says you work on Java 8. In the linked tutorial, I will show you the correct scenarios, which will help you crack some complex interview questio...
Garbage collection is one of the most important feature of Java. Garbage collection is also called automatic memory management as JVM automatically removes the unused variables/objects (value is null) from the memory. User program cann't directly free the object from memory, instead it is the jo...
Another useful interview strategy is to review potential Java interview questions in advance. Let’s check out examples of some of the top Java interview questions. Also, each question includes some information that can help refresh your memory. ...
Refer to first question in above list. 2. Have you faced out of memory error? If yes how you fixed ? Tell different scenarios why it comes? http://stackoverflow.com/questions/37335/how-to-deal-with-java-lang-outofmemoryerror-java-heap-space-error-64mb-heap ...
Standard rotated binary search question. You have a sorted array that has been shifted/cycled, perform a search on it Retrieve words from a dictionary that are made up of a subsequence of characters in an input string (i.e. given input “ABAT,” matching words may include “BAT” and “...
Please let us know the company, where you were asked this question : Like Discuss Correct / Improve array arraylist Q17. What is the trade off between using Collections.synchronizedList() on an ArrayList and a CopyOnWriteArrayList? Core Java Ans. Synchronized List locks the whole list ...
贝莱德伦敦分部面试 - Java岗位 摘要:第一轮 网上测试,一共三道题,每一问都跟上一问有关,限时90mins。主要是考面向对象编程,字符串,正则表达式和数据结构的一些基础,感觉不难。有些点需要注意比如Java里对字符串 “MSN|QQ“ 进行split,需要 具体解释: https://stackoverflow.com/question 阅读全文 posted ...
Sr.No.Question 1 What are new Java8 Features? 2 Difference between GET & POST METHODS? 3 Difference between forward() method & SendRedirect() method? 4 Difference between HashMap and HashTable? 5 Difference between HashSet and TreeSet? 6 What is meant by Collections in Java? 7 What is ...