Submitted by jjadmin on Wed, 06/08/2016 - 19:46
Given a binary tree, find out if it is a binary search tree or not.
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 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 jjadmin on Sun, 05/01/2016 - 01:31
Write a program that accept two directories (or even two drives or hard disks), efficiently compare them and tell the files/locations which are not same. It should also tell if a file has been changed based on factors such as size, timestamp etc.
Basically it needs to act as a file system backup tool that suggests the files that need to updated to the backup device or vice versa. However, it may not actually copy the files or do the backup.
Submitted by jjadmin on Fri, 04/22/2016 - 06:45
@Autowired, @Resource, and @Inject are examples for annotations that are used for dependency injection in Spring.
While @Autowired is provided by the Spring framework, @Resource and @Inject are java standard annotations.
When using annotation-based dependency injection, if the dependency is not injected, we would get an exception at the startup of our application itself.
Submitted by jjadmin on Sun, 04/17/2016 - 06:31
Submitted by jjadmin on Fri, 04/08/2016 - 20:46
This page contains 500+ sample exam questions for OCA Java SE 7 Programmer I certification 1ZO-803 exam to test your knowledge on core Java. Materials are free, but to avoid misuse of materials, we have encrypted the downloads. Please check note below for getting password for the questions and also for getting the answers and explanations.
Submitted by jjadmin on Mon, 04/04/2016 - 18:20
You need to create a program that takes any PDF ebook as an input , read its index (table of contents in the begenning) then and print it into an html file with bulleted points and proper indentation.
You may ask any doubt as a comment below. Don't make assumptions without asking.
The decision on the winner will be made by javajee.com team and will be final.