Interview Questions and Answers - Order By Newest Q2431. What is the difference between dynamic programming and the brute force algorithm? Algorithm
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   Q2432. Design a Program to clone an object and all it's children.
Design
This question was recently asked at 'Bloomberg'.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  code  coding  cloning  design pattern   cloning design pattern Asked in 1 Companies Q2433. Tell something about Dependency Injection and it's drawbacks. In which situation, you may not like to use dependency injection ? Design
This question was recently asked at 'Bloomberg'.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  dependency injection Asked in 1 Companies Q2434. What is setter injection ? Spring
Ans. Setter Injection in Spring is a type of dependency injection in which the framework injects the dependent objects into the client using a setter method. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  setter injection   dependency injection Asked in 2 Companies Q2435. Difference between final and finally Core Java
Ans. final can be used for variables , methods and class. A final variable cannot be changed , a final method cannot be overridden , a final class cannot be inherited.
Finally is a block which is used after Try and catch, a finally block is always executed. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q2436. Given a String with letters , numbers and special characters , extract Tokens from it. The rules for Token extraction are ac follows
1. Should for token of all characters till a number or special character is found
2. Should form token of all numbers till a character or special character is found
3. Special character in itself is a token
4. Ignore white spaces
For example - Bob Said "He is here"
should result in
Bob A
Said A
" S
He A
is A
here A
" S
where a is specifying alphabet and S as special character Design
This question was recently asked at 'Bloomberg'.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  code  coding  string Asked in 1 Companies Q2437. Design a Whats app like messaging application. architecture
This question was recently asked at 'Bloomberg'.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 Q2438. What is immutability and What are it's disadvantages ? Design
This question was recently asked at 'Bloomberg'.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  immutable  immutability objects   immutability Asked in 1 Companies Q2439. Can you explain any of your project bug for which you had to struggle a lot ? General
This question was recently asked at 'Bloomberg'.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 Q2440. What will happen if there is an exception in Java finally block ? Core Java
Ans. The regular behavior of exception handling will occur. It will look for any immediate catch handler and if none is provided, it would be transmitted to the callers until a catch handler is found or it's out of main function. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  exceptions  finally Q2441. What is the default execution method in Java? Core Java
Ans. public static void main(String[] args) Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  main method Q2442. Can methods without a return type be declared in Java? Is there a difference between void return type and no return type ? 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   This question was recently asked at 'PegaSystems'.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 Q2444. how is the internal code for the "volatile" implemented ? Core Java
This question was recently asked at 'Symantec'.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  volatile Asked in 1 Companies Q2445. Design database schema for Facebook like application. Database
This question was recently asked at 'Symantec'.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  database design Asked in 1 Companies expert Q2446. How Bitly shortens the URL ? Web
This question was recently asked at 'Symantec'.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  web application   url Asked in 1 Companies   rare Q2447. Write Java code that would cause deadlock ? Core Java
Ans. https://howtodoinjava.com/java/multi-threading/writing-a-deadlock-and-resolving-in-java/ Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  multithreading  threads  deadlock Asked in 1 Companies intermediate Q2448. How would you design a Thread Pool ? Design
Ans. By using Executor Framework , we can create Thread pool Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  Thread Pool Asked in 1 Companies expert Q2449. Suppose you have 8 balls, one of them is either have more/less weight, In how many least possible iterations would you find that ball? Design
This question was recently asked at 'Symantec'.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  puzzle  design Asked in 1 Companies Q2450. is Java top down programming language or bottom up programming language? Core Java
Ans. bottom up programming language Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Ans. Hashing is a technique to calculate the hash code for any object Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q2452. Draw uml for singleton pattern. Design
This question was recently asked at 'deutche bank'.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  design pattern   singleton Asked in 1 Companies Q2453. Can you name few Java packages which you frequently used ? Core Java
This question was recently asked at 'Symantec'.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 Q2454. Can you tell something about Web security ? Web
This question was recently asked at 'Symantec'.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  web security Asked in 1 Companies Q2455. If we have width of an html element as 100px and a border of 10 px. What will be the effective width of the element ? Will the border start after 100 px or after 90 px ? Html
This question was recently asked at 'Symantec'.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 Q2456. Can you create html and css for a rectangular shape button with width 10px. CSS
This question was recently asked at 'Symantec'.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 Q2457. What is the difference between Java OR operator and Java script OR operator ? JavaScript
This question was recently asked at 'Symantec'.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 Q2458. What are the advantages of using cascade style sheets or css ? CSS
Ans. We can enforce consistent UI and can have single point of change for UI components.' Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q2459. How do you debug Javascript code ? JavaScript
Ans. Possible Answer - I use either Firebug or Chrome Developer tool. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q2460. Have you ever worked with Firebug ? Browser
Ans. Possible Answer - Yes, for debugging Javascript issues and fixing CSS and Html. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies