Interview Questions and Answers - Order By Newest 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   Q2192. What is the use of final String when Strings are immutable ? Core Java
This question was recently asked at 'Cyient'.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  string Asked in 1 Companies This question was recently asked at 'naresh i 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 Q2194. Can you explain spring boot project Architecture? Spring Boot
Ans. The architecture of a Spring Boot project can be divided into three layers:
Presentation Layer:
This layer is responsible for handling user requests and generating responses. It includes the user interface, which can be a web UI or a RESTful API. Spring Boot provides various options to develop web applications, such as Spring MVC, Thymeleaf, and others.
Service Layer:
This layer contains the business logic of the application. It is responsible for processing the user requests and generating responses. The Service Layer interacts with the Data Access Layer to fetch and store data.
Data Access Layer:
This layer is responsible for interacting with the database or any other external data source. It includes the database model, repositories, and data access objects. Spring Boot provides support for various data access technologies, such as JPA, JDBC, and Spring Data JPA. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q2195. Without configure ContextLoaderListenerAnd DispatcherServlet how to run spring MVCApplication? Spring
This question was recently asked at 'Naresh i 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 Q2196. 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 Ans. Let creates a variable with a local scope whereas var creates it with a global scope. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Q2198. What are the different data types in typescript ? TypeScript
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   Q2199. Difference between interface and type ? TypeScript
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   Q2200. Difference between interface and class in typescript ? TypeScript
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   Q2201. Why type has been deprecated and replaced by interfaces ? TypeScript
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   Q2202. Can we set specific return type of a method in typescript ? TypeScript
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   Q2203. What is the use of map method in typescript ? TypeScript
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   Q2204. What is type script ? What are the advantages of typescript ? How is it different than javascript ? TypeScript
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  Typescript vs Javascript Q2205. What are the features of TypeScript ? TypeScript
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 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   Q2207. Can we compile multiple type script files together ? How ? TypeScript
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   Q2208. Difference between git init and git clone ? Git
Ans. "git init" creates an empty repository or can make an existing directory a git repository while "git clone" first internally calls "git init" to create an empty git repository and then copy the data from the specified remote repository. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  git init   git clone   git init vs git clone basic Q2209. What is the purpose of rebasing the branch Git
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  rebasing branch in git  git  rebasing  rebase a branch This question was recently asked at 'Amber Road'.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 Q2211. Difference between git fetch and git pull ? Git
Ans. git pull does a git fetch followed by a git merge. git fetch only change the remote tracking but never attempts to make changes to the local. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  git fetch vs git pull  git fetch  git pull Asked in 1 Companies Q2212. What is reentrant lock ?
Ans. A reentrant lock is a mutual exclusion mechanism that allows threads to reenter into a lock on a resource (multiple times) without a deadlock situation. 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 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 s3  aws storage  amazon cloud storage  amazon s3Ans. We can get the object and then can set CannedAcl property as "PublicRead" Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  aws s3  aws storage  amazon cloud storage  amazon s3Ans. We can schedule that through CloudWatch. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  lambda function  aws lambda  aws serverless computing  amazon cloud serverless computing  amazon lambda function  aws cloudwatch  amazon cloudwatchAns. Yes I did it for an execution role of a Lambda function to give it write access on S3 bucket. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  aws security  aws iam  amazon iam Q2217. How you can check Object is created or not in case of Singleton using Object class method ? Design
Ans. Reflections-- setAccesible--avoid using enumns Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q2218. Does Hashtable in Java use stack operation ? 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 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  C++ vs Java Q2220. What is the difference between try-catch and @ExceptionHandler in Java/Spring Boot? Spring Boot
Ans. ExceptionHandler is Used to handle at Method level Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  @ExceptionHandler