Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kensipe/interviews-java
source code used for java interviews
https://github.com/kensipe/interviews-java
Last synced: 23 days ago
JSON representation
source code used for java interviews
- Host: GitHub
- URL: https://github.com/kensipe/interviews-java
- Owner: kensipe
- Created: 2011-05-17T18:43:31.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2012-08-03T21:54:56.000Z (over 12 years ago)
- Last Synced: 2023-04-12T05:51:02.510Z (over 1 year ago)
- Language: Java
- Homepage:
- Size: 249 KB
- Stars: 13
- Watchers: 1
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Interview Project
This project is created to test java developers## Overview
There are several sections; java core questions, code reviews and code writing.### Getting Started
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 jarTo configure an editor:
./gradlew idea
or
./gradlew eclipseTo run tests:
./gradlew test
To review output of tests:
./gradlew test -i
### Questions
DoubleQuestiondouble value = 2.0 - 1.1;
System.out.println("value = " + value);1. What is the expected result?
2. What did you get and why?
3. How do you fix it?NumOfArraysQuestion
1. What is the expected result?
2. What is the result?
3. Why? - In great detail :)StringCompareExample
1. What is the expected result or 1, 2 and 3?
2. What is the result?
3. 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?### Code Reviews
The class Weight represents code that was developed for a client in 2010 for which I was to give a code review...1. What is your review?
### Code Writing
1. The project contains a Person class which contains a getFullName() method. Complete the PersonTest class to test this method.
2. The StringUtils class has a StringUtilsSpec Test which is currently failing. Fix the StringUtils to be a good implementation.