Interview Questions and Answers - Order By Rating Q181. What is the programming language used to build Jenkins? Jenkins
Ans. There is a diverse set of programming languages used in Jenkins, including but not limited to: Java, JavaScript, Groovy, Golang, Ruby, Shell scripts Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q182. Difference between merge and update in hibernate Hibernate
This question was recently asked at 'Nucleus 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 Ans. class:- A class describe the contents of an object, an it describe the detail of data field called instance variable and defines the operations called method.
Object:-An object is an element of a class. Object have the behaviors of their class. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Ans. Private, Public, Hybrid, Community Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  Google Cloud Platform (GCP) Asked in 1 Companies Q185. How can an XSS attack harm a system ? Security
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  xss Q186. What are the ways we can get over XSS or cross site scripting vulnerability ? Security
Ans. The counter measures of XSS are input validation and implementing a CSP (Content Security Policy). Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  Cross Site Scripting  XSS Asked in 1 Companies Q187. Explain Spring mvc. Spring
This question was recently asked at 'Esoft 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 This question was recently asked at 'Unisys'.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 Q189. If you are given a stack trace , what would you look for ?
This question was recently asked at 'Mcleod 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 Q190. If you see a terrible code, Would you rewrite it. If yes , Why ?
This question was recently asked at 'McLead 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 Q191. What would you do if your rest services aren't responding fast enough ? Rest
This question was recently asked at 'Symantec,Barclays'.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 This question was recently asked at 'Barclays'.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  Google Cloud Platform (GCP)  Amazon Web Services (AWS) Asked in 1 Companies Q193. What is JUnitRunner ? JUnit
Ans. A JUnit Runner is a class that extends JUnit’s abstract Runner class and it is responsible for running JUnit tests. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q194. What are FPGA's ?
This question was recently asked at 'Intel'.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 Q195. Write an algorithm to shift a linked list n positions. Data Structure
This question was recently asked at 'Amdocs'.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 Q196. What is the time complexity and space complexity of reversing a Linked List ? Data Structure
Ans. o(n) for time complexity
o(1) for space complexity 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 'Fujitsu'.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 Q198. Can we override behavior of a collection class ? How ? Core Java
Ans. Yes. We can do that.
1. We can create own own implementation class extending the collection class and then override the behavior method.
2. We can override the behavior at the time of instantiation of class as following
List<MyType> list = new ArrayList<MyType>() {
public boolean add(MyType mt) {
super.add(mt);
Collections.sort(list, comparator);
return true;
}
}; Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  collections Q199. Explain Rest architecture Rest
This question was recently asked at 'Motorola Solutions,DXC Technology'.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 Q200. What is Spring Security in Detail ?
This question was recently asked at '3i Infotech'.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 Q201. Explain unix commands - cat and pwd. Unix
Ans. by using Cat command we can open and see the file content and as well as redirect the file content to another files
pwd command shows us current working path of the server
cat filename | tail -100
cat file name > filname1 Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q202. What is the logic behind the shuffle in Music player ?
or
Explain Music player shuffle algorithm. Algorithm
This question was recently asked at 'ASG Sweden'.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 Q203. How many objects are created when we define a bean with two different name in spring? Spring
Ans. we wont create the objects because of each and every bean will be an object Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q204. what annotation do in background in hibernate ? Hibernate
This question was recently asked at 'Cdac Pune'.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. Message queues implement an asynchronous communication pattern between two or more processes/threads whereby the sending and receiving party do not need to interact with the message queue at the same time. Messages placed onto the queue are stored until the recipient retrieves them. Message queues have implicit or explicit limits on the size of data that may be transmitted in a single message and the number of messages that may remain outstanding on the queue. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  message queue Asked in 1 Companies Q206. How to track immediate parent of the child in selenium using xpath? Selenium
Ans. Using ./ Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q207. Why Spring boot is preferred over Spring MVC ?
Ans. Spring Boot aims to shorten the code length and provide you with the easiest way to develop a web application. It helps create a stand-alone application with less or almost zero-configuration. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q208. Can you share your experience with encoding and encryption ? Encoding
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  encoding  encryption Q209. How do you ftp files to a different server ? Do you use scp or mput etc. Unix
Ans. I use both mput as well as scp. mput usually with sftp Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  unix commands  ftp Q210. How would you handle clustering on multiple servers? Server
This question was recently asked at 'Sifi'.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  production support Asked in 1 Companies