Interview Questions and Answers for 'A' | Search Interview Question - javasearch.buggybread.com
Javasearch.buggybread.com

Search Interview Questions


 More than 3000 questions in repository.
 There are more than 900 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text

   



Interview Questions and Answers - Order By Rating

   next 30
 Q271. What's the point of a static function in Java?
Ans. Memory Reuse and Sharing.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve          Asked in 1 Companies


 Q272. Why in Java does it require "static" in the main function?Core Java
Ans. Because there needs to be a starting point till when there is no object created in memory and hence it needs to be run in static scope

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve          Asked in 1 Companies


 Q273. Difference between spring and spring bootSpring Framework
Ans. Spring is a Framework where we have to Build the Configurations Manually but Springboot have default configurations that allow faster bootstrapping. Spring Framework requires a number of dependencies to create a web app. Spring Boot, on the other hand, can get an application working with just one dependency.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     spring boot     Asked in 1 Companies


 Q274. How do you analyze memory leaks in your java application ?
Ans. https://dzone.com/articles/what-to-do-about-java-memory-leaks-tools-fixes-and

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve          Asked in 1 Companies


 Q275. How can we increase the speed of SQL queries ?Database
Ans. Using -
1. Prepared Statements
2. Using Indices
3. Using whereby clause only on indexed columns

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve          Asked in 1 Companies


 Q276. What is dynamic programming ?
Ans. Dynamic programming is as a problem solving approach in which problem is divided into simpler sub problems which are over lappping in nature and solved once. its results are stored into a suitable data structure and reused to solve bigger sub problems

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve          Asked in 1 Companies


 Q277. Explain features of MongoDB.MongoDB
Ans. Document Oriented:
MongoDB stores the main subject in the minimal number of documents and not by breaking it up into multiple relational structures like RDBMS. For example, it stores all the information of a computer in a single document called Computer and not in distinct relational structures like CPU, RAM, Hard disk, etc.

Indexing: Without indexing, a database would have to scan every document of a collection to select those that match the query which would be inefficient. So, for efficient searching Indexing is a must and MongoDB uses it to process huge volumes of data in very less time.

Scalability: MongoDB scales horizontally using sharding (partitioning data across various servers). Data is partitioned into data chunks using the shard key, and these data chunks are evenly distributed across shards that resides across many physical servers. Also, new machines can be added to a running database.

Replication and High Availability: MongoDB increases the data availability with multiple copies of data on different servers. By providing redundancy, it protects the database from hardware failures. If one server goes down, the data can be retrieved easily from other active servers which also had the data stored on them.

Aggregation: Aggregation operations process data records and return the computed results. It is similar to the GROUPBY clause in SQL. A few aggregation expressions are sum, avg, min, max, etc

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve          Asked in 1 Companies


 Q278. Is it possible to have a static class ?Core Java
Ans. We can have a static inner class but not static outer class.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     


 Q279. Difference between List and LinkedList ?Core Java
Ans. A List is an child interface of collection interface in java where as Linked list is and implementation class of List interface which has doubly linked as a underlying data structure

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     linkedlist  list vs linkedlist     Asked in 1 Companies


 Q280. What are the technologies you would like to work on ?General
Ans. Java 7 , SQL Server

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve          Asked in 2 Companies


 Q281. Have you ever walked out of an interview ? Why ?General
 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     


 Q282. Give an example wherein you recommended some solution that fixed the problem in a much easier way ?General
 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     


 Q283. Give an example of a time when you recommended code changes in a code review that simplified the code ?Code Review
Ans. If there is a situation to remove duplicates values from an arrayList. Developer implemented using legacy for-loop where I suggested to use Linked hash set to remove duplicates from the list.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     Clean code     Asked in 3 Companies


 Q284. What are the best strategies to improve code readability ? General
Ans. https://dzone.com/articles/10-tips-how-to-improve-the-readability-of-your-sof

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve          Asked in 2 Companies


 Q285. Why packages are used in Java ?Core Java
 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     


 Q286. What is meant by platform ? Which platform does java provides ?Core Java
Ans. platform is the hardware or software environment in which a program runs. There are two types of platforms software-based and hardware-based. Java provides software-based platform.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     


 Q287. How can we drop cookies through back end code ? Does it transfer the cookie file to the client ?Java EE
 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     


 Q288. Is it front end code or the back end code , that drops the cookies ?Java EE
 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     


 Q289. Can we use combination of two authentication mechanism in an application ? Narrate with an example.Authentication
Ans. Yes We can use. Negotiate is a very good example with NTLM fallback mechanism over Kerberose.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     


 Q290. Which Jira feature you dislike the most ?Jira
 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     


 Q291. Which feature of Jira you like the most ?Jira
Ans. We can integrate Jira with SCM like Git.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     


 Q292. What are different ways a user can be authenticated other than username / password ?Authentication
Ans. IP Authentication
IP Range Authentication
Certificates
Authentication Cards

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     


 Q293. Have you ever worked on any project dealing with authentication and authorization ?Authentication
Ans. Yes, I have worked on single sign on project.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     


 Q294. Write an algorithm for square root of a given number.Core Java
 This question was recently asked at 'IBM 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


 Q295. Which is faster, LinkedList or ArrayList?Core Java
Ans. ArrayList is fast for random access, but is slow on deletion and insertion.

LinkedList is slow for random access, but is fast on deletion and insertion.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     


 Q296. Why do we use Hibernate ?Hibernate
 This question was recently asked at 'NIIT'.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


 Q297. Explain Working of joins in sql.Database
 This question was recently asked at 'InfoGain'.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


 Q298. Difference between function overloading and method overloading?Core Java
 This question was recently asked at 'BroadBridge'.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


 Q299. What are the drawbacks of micro services ?
 This question was recently asked at 'IBS Software'.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


 Q300. Which interface is used for hashset implementation ?Core Java
Ans. HashSet implements Set interface.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve          Asked in 1 Companies


previous 30   next 30

Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked: