Interview Questions and Answers - Order By Newest This question was recently asked at 'Avis'.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  final class   final keyword Asked in 1 Companies basic Q2522. While working on a web application, you are informed that there is no new data in Database for last few hours ? How would you go about debugging this problem ?
Solution
Ans. Will look into access logs to see if web application is getting any traffic. If not , then will inform the server support team.
Will look into intermediary infrastructure , queues , streams etc to see if there is any choke or throttle there.
If there is any throttle at any point, would make request for either debugging the cause or increasing the infrastructure. For ex - increasing shards in Kinesis. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  Solution  Designing  Solutioning Asked in 2 Companies Q2523. Set Locators priority wise in selenium WebDriver. Selenium
Ans. Id locators,Name locators,CSS locators,Xpath locators,DOM locators Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  selenium  WebDriver Asked in 1 Companies Q2524. Which memory segment is cleaned by Garbage Collection - stack or heap ? Core Java
Ans. Heap as objects are stored ink heap. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  memory management   stack  heap  garbage collection Q2525. If you are told that we don't have any data in database for last 5 days being populated by
1. a web service
2. that in turn write a message to a queue
3. which is then picked by a consumer
4. and then written to DB by consumer.
How would you go about debugging this issue ?
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   Q2526. Do we have references for the objects that are eligible for garbage collection ? 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   Q2527. Have you worked on Linux Systems ? General
This question was recently asked at 'HCL Technologies,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 2 Companies Q2528. What is OSGI ? OSGI
Ans. OSGI is open service gateway initiative, its used as java framework for developing and deploying the modular softwares. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 23 Companies Q2529. What is the use of load-on-startup ? Design
Ans. The load-on-startup element of web-app loads the servlet at the time of deployment or server start if value is positive. It is also known as pre initialization of servlet.You can pass positive and negative value for the servlet. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  load on startup   web application Asked in 1 Companies Q2530. Are final methods faster than regular instance methods ? Core Java
Ans. Yes. As they cannot be overridden , there is no use of virtual table concept which is used for dynamic binding resolution. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  final methods   final keyword expert Q2531. What is virtual table with respect to method overriding 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  vtable  virtual method table   method overriding  runtime polymorphism  object oriented programming (oops)  oops concepts Q2532. How is the virtual method table implemented 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  virtual method table   method overriding  runtime polymorphism  object oriented programming (oops)  oops concepts expert   rare Q2533. How many VTables are there for each class ? Core Java
Ans. There is one VTable for each class. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  virtual table method  vtable  runtime polymorphism  object oriented programming (oops)  oops concepts   method overriding intermediate   rare Q2534. Can an In Memory Data Management play a significant role for Big Data Analytics? BigData
This question was recently asked at 'Jean Martin'.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 Q2535. Explain the use of Client certificates for authentication ? Authentication
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  authentication  client certificates Q2536. How cookies helps by storing encrypted passwords ? Authentication
Ans. It helps user autofill password on the form where its presented for authentication Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  cookie  authentication Q2537. Have you ever worked with encrypted Tokens and How ? Authentication
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   Q2538. How did you use authentication in node.js ? Node,js
Ans. Using JWT Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  authentication  node.js Asked in 2 Companies Q2539. How to deal with double hop authentication issue? Authentication
This question was recently asked at 'Bank Of America'.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 Q2540. Have you ever used java.util.Objects class ? Core Java
Ans. Yes, We are using requireNonNull method for validating if the object is null. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  objects  util methods   rare Q2541. Why do we use getbytes in Java? Core Java
Ans. It is used to convert String into an array of bytes.
byte[] getBytes() - converts String into a byte array.
byte[] getBytes(Charset charset) - converts String to byte array, based on charset encoding. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Q2542. If a high CPU Usage happens everyday at a particular time, How would you go about fixing it ? Server
Ans. We can provision more instances for that particular time slot. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  aws  amazon web service   server  production support Asked in 1 Companies 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  aws  amazon web service  Azure Q2544. Can Java be run on hardware with just the JVM and no OS ? 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   Q2545. Which java feature is used to convert primitive type to reference type ? Core Java
Ans. AutoBoxing Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Q2546. What is a reflexive equals contract ? Core Java
Ans. An equal contract is said to be reflexive is equality between 2 objects always returns to be true.
For example -
Object o1;
Object o2;
o1.equals(o2); // returns true
o2.equals(o1); //returns true Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  reflexive equals contract Q2547. Explain Transitive equals contract. Core Java
Ans. The equals contract is said to be transitive if
obj1.equals(obj2); and obj2(.equals(obj3)
then obj1.equals(obj3) also returns true. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  Transitive equals contract   rare Q2548. What sets you apart from other developers ?
or
What are the distinguished qualities you have ? General
Ans. https://blog.timesunion.com/careers/the-10-most-important-personality-traits-for-career-success/633/ Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 32 Companies Q2549. Have you ever been in a situation where any of strength became a weakness in some other setting ? 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   Q2550. What is your greatest fear ? 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