Interview Questions and Answers - Order By Newest Q151. Is it possible to configure more than one config file in struts ? Struts
Ans. Yes Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q152. Explain Hibernate caching mechanism Hibernate
Ans. Every fresh session having its own cache memory, Caching is a mechanism for storing the loaded objects into cache memory. The advantage of cache mechanism is, whenever again we want to load the same object from the database then instead of hitting the database once again, it loads from the local cache memory only, so that the no. of round trips between an application and a database server got decreased. It means caching mechanism increases the performance of the application.
In hibernate we have two levels of caching
First Level Cache [ or ] Session Cache
Second Level Cache [ or ] Session Factory Cache [ or ] JVM Level Cache Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 23 Companies Q153. Implement a Stack with 2 threads in which one thread push data and another pop data. Data Structure
This question was recently asked at 'HCL Technologies'.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  stack Asked in 1 Companies Q154. Explain different inheritance mapping strategies with JPA / Hibernate. Hibernate
Ans. table per hierarchy
table per concrete class
table per sub class Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  hibernate mapping  hibernate associations Asked in 4 Companies Q155. what is the testcase technique Testing
This question was recently asked at 'HCL Technologies'.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 Q156. what are the different status of a defect in Jira ? Jira
Ans. Open, In Progress, Reopened, Closed, Resolved Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q157. what is the difference between RC and webdriver WebDriver
This question was recently asked at 'HCL Technologies'.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. Route 53 Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  AWS DNS  aws Route 53 Asked in 4 Companies Q159. Difference between List and ArrayList ? Core Java
Ans. List is an interface whereas ArrayList is an implementation of List. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  list  arraylist  list vs arraylist  difference between  collections Asked in 2 Companies basic Ans. VPC stands for Virtual Private Cloud. You can define a VPC and subnets for a region in AWS and that can be used to access shared resources on the cloud. For eg: API gateway to access any file on S3. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  aws vpc  aws subnets Asked in 3 Companies Ans. No. They are never inherited and therefore are not subject to hiding or overriding. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  constructor  final  final constructor Asked in 1 Companies Q162. Can a constructor be declared static ? Why ? Core Java
Ans. No.
When we declare a method static, it means that "this belongs to class as whole and not particular instance". The whole purpose of constructor is to initialize a object and hence there is no sense having static constructor. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  constructor  static  static constructor Asked in 1 Companies Q163. Difference between interface and inheritance Core Java
This question was recently asked at 'HCL Technologies'.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 Q164. JWT internal working
This question was recently asked at 'HCL Technologies'.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 Q165. 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 Q166. Rest API crud operation using spring boot Spring Boot
This question was recently asked at 'HCL Technologies'.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 Q167. Hash map using/without using Java 8 Core Java
This question was recently asked at 'HCL Technologies'.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 Q168. How to deploy spring boot application without restart in prod env Spring Boot
This question was recently asked at 'HCL Technologies'.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 Q169. differences between drop , delete and truncate Database
This question was recently asked at 'HCL Technologies'.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 Q170. Can you explain integration between Spring and Hibernate ? Hibernate
This question was recently asked at 'HCL Technologies'.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  Spring framework  Hibernate Orm Asked in 1 Companies