Submitted by heartin on Thu, 06/02/2016 - 20:06
You need to install the version of Git for your system first before getting started. You can download Git for Windows from https://git-for-windows.github.io. A simple Google search will help you install Git.
This is the most important prerequisite for using git in your machine.
You can use various free GUI tools such as Tortoise Git or SourceTree for working with Git easily.
We will see more about these later, if you face any doubt, please ask.
Submitted by jjadmin on Sat, 05/28/2016 - 18:26
This page contains a set of basic exercises that you need to complete along with your beginning Java notes. Exercises are divided into modules similar to the modules for multiple choice questions. Practice these alongside reading notes and answering the multiple choice questions.
Write a HelloWorld program. Write a simple program with a main method that prints Hello World.
Submitted by heartin on Mon, 05/23/2016 - 19:56
This is a quick summary of important annotations in Spring for doing core tasks in Spring. Some of them might have already been covered in examples. Some of them might be covered later. Some of them might be a variation of the already covered ones, so please feel free to try them out and let us know if you face any issues.
You can use @Configuration to specify a Java configuration file.
Submitted by jjadmin on Sun, 05/22/2016 - 22:37
If you invoke getBean("writer") and there are two beans defined with the name writer in your xml configuration file or Java configuration file. What will happen?
It will return the second one defined.
Submitted by jjadmin on Mon, 05/16/2016 - 22:30
Through the autowiring feature, spring will intelligently guess some of the bean injection without needing to configure explicitly. Spring can do autowiring based on the type of the bean, name of the bean, and constructor of the bean. Default is autowire by type.
Submitted by jjadmin on Sun, 05/15/2016 - 02:04
A Spring Boot standalone application uses the @SpringBootApplication annotation over the main class, which also has the main method to execute the application. The SpringApplication.run method call accepts two parameters — the class that actually contains the annotated @SpringBootApplication annotation and any application arguments. The ApplicationArguments interface allows you to access any application arguments.
Submitted by heartin on Sat, 05/14/2016 - 13:13
@Profile annotation allow you to register components that will be selected only if its associated profile is active. You can selectively activate a set of beans in a class or all beans .
Submitted by heartin on Sat, 05/14/2016 - 09:07
Submitted by heartin on Fri, 05/13/2016 - 20:31
Please follow the below guidelines for answering questions.
Answer within the question bank itself, without changing the name.
Color your answers with blue color.
Color your execution results in yellow color. Sometimes you might be asked to first answer without trying out and then actually try compiling/executing it. This step is not mandatory.
Submitted by heartin on Sun, 05/08/2016 - 23:17
Find the middle element of linked list in one Pass.
You can use the runner technique.
Two pointers can be used and both will be running at separate speeds. One runner pointer can go in two steps at a time and other pointer can go in one step at a time. Second one will always cover half the distance as that of the other. When one reaches the end, other will be be middle.