Размер видео: 1280 X 720853 X 480640 X 360
Показать панель управления
Автовоспроизведение
Автоповтор
apart from these what else they ask, like projects we worked on previous company. regarding the project
import java.util.Arrays;public class Main { public static void main(String[] args) { int[] array = {1, 2, 3, 4, 2, 5, 1, 6, 3}; int[] uniqueArray = Arrays.stream(array) .distinct() .toArray(); // Print the unique elements System.out.println(Arrays.toString(uniqueArray)); }}
We can convert array into stream using Arrays.stream() method. for ex: String[] arr = { "a", "b", "c" }; Arrays.stream(arr) - like this we can do.
I don't think this candidate has 3 years of experience
Sir do you agree that for major of employees having 2 years experience in java in service based companies gets a work in some excel work/ documentation/ one or two line code changes / support work which anyone can do.
Unfortunately yes
there is no default value for local variable in java
is this really 3 yrs exp interview??
He is answering like fresher
apart from these what else they ask, like projects we worked on previous company.
regarding the project
import java.util.Arrays;
public class Main {
public static void main(String[] args) {
int[] array = {1, 2, 3, 4, 2, 5, 1, 6, 3};
int[] uniqueArray = Arrays.stream(array)
.distinct()
.toArray();
// Print the unique elements
System.out.println(Arrays.toString(uniqueArray));
}
}
We can convert array into stream using Arrays.stream() method.
for ex: String[] arr = { "a", "b", "c" };
Arrays.stream(arr) - like this we can do.
I don't think this candidate has 3 years of experience
Sir do you agree that for major of employees having 2 years experience in java in service based companies gets a work in some excel work/ documentation/ one or two line code changes / support work which anyone can do.
Unfortunately yes
there is no default value for local variable in java
is this really 3 yrs exp interview??
He is answering like fresher