thePlatform Interview Report
- 0of 0 votes
Answersfor this code:
class Interview { // input is max 3 chars public static int convertToString(int input) throws IllegalArgumentException; }
write a method which checks whether the proper exception is being thrown.
- HB February 08, 2013 in United States| Report Duplicate | Flag | PURGE
thePlatform Software Engineer in Test - 0of 0 votes
AnswersWAP :
- HB February 08, 2013 in United States
public boolean hasUniqueChars(String a);
- String can contain any type of chars
- You cannot use any type of Collections| Report Duplicate | Flag | PURGE
thePlatform Software Engineer in Test - 0of 0 votes
Answerswrite as many test cases for this : example : 123, 1, 2,... -123, 0,...
- HB February 08, 2013 in United Statesclass Interview { // input is max 3 chars public static int convertToString(int input) throws IllegalArgumentException; }
| Report Duplicate | Flag | PURGE
thePlatform Software Engineer in Test
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.