This project is created to test java developers
There are several sections; java core questions, code reviews and code writing.
Everything that is need to run or configure the project is checked into project. You will need internet access to maven for this to work. To do your first build:
./gradlew jar
or
./gradlew.bat jar
To configure an editor:
./gradlew idea
or
./gradlew eclipse
To run tests:
./gradlew test
To review output of tests:
./gradlew test -i
DoubleQuestion
double value = 2.0 - 1.1;
System.out.println("value = " + value);
- What is the expected result?
- What did you get and why?
- How do you fix it?
NumOfArraysQuestion
- What is the expected result?
- What is the result?
- Why? - In great detail :)
StringCompareExample
- What is the expected result or 1, 2 and 3?
- What is the result?
- Why? - In great detail :)
(Extra Credit) When considering Java's generics, what does the term reified mean? And what effect does it have on the Java?
The class Weight represents code that was developed for a client in 2010 for which I was to give a code review...
- What is your review?
- The project contains a Person class which contains a getFullName() method. Complete the PersonTest class to test this method.
- The StringUtils class has a StringUtilsSpec Test which is currently failing. Fix the StringUtils to be a good implementation.