Sollicitatievraag
Sollicitatiegesprek voor de functie Hadoop Administrator/Developer
-
ExperianJava Based Questions, Explain OOPS Concepts, Interface, Given a CSV text file how would write code to display the Second column Values. Other than java, which programming language you know to write this programme.
Antwoord op sollicitatievraag
1 Antwoord
The OOPS Concepts and Interface questions are pretty simple to answer. For the CSV file, a quick and dirty solution would be to use a file reader to read the file line by line, split on the comma and print out index 1 of the list resulting from the split. (index starts at 0) Easiest alternative to Java is python, which is pretty much exactly the same method. This is by no means the most efficient implementation
Viral Shah op