Interview Questions and Answers for 'L' | Search Interview Question - javasearch.buggybread.com
Javasearch.buggybread.com

Search Interview Questions


 More than 3000 questions in repository.
 There are more than 900 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text

   



Interview Questions and Answers - Order By Newest

   
 Q2051. How do you version your projects ?General
 This question is still unanswered. Can you please provide an answer.


 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     


 Q2052. Can you please share best practices while designing an angular application ?Angular
 This question is still unanswered. Can you please provide an answer.


 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     


 Q2053. How can print the whole object state in the console in javascript ?Javascript
Ans. We can JSON.stringify

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     javascript  angular


 Q2054. Which one of AWS Lambda or API Gateway is a compute service ?Amazon Web Services (AWS)
Ans. AWS Lambda

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     aws lambda      basic


 Q2055. What is the difference between closing and completing the observer / listener ?Angular
 This question is still unanswered. Can you please provide an answer.


 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     observer   listener


 Q2056. Have you ever faced problem because of some listener / observers / subscriber performing action on the subscription which you don't want ? How did you fix the problem ?Angular
 This question is still unanswered. Can you please provide an answer.


 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     


 Q2057. What is the difference between subscribe and emit ?Angular
 This question is still unanswered. Can you please provide an answer.


 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     subscribe vs emit


 Q2058. What is the difference between subscribe and unsubscribe ?Angular
 This question is still unanswered. Can you please provide an answer.


 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     RxJs   subscribe vs unsubscribe


 Q2059. What is the difference between Subject and Observable ?Angular
 This question is still unanswered. Can you please provide an answer.


 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     subject vs observable


 Q2060. What does pipe does on an observable ?RxJs
Ans. With pipe we specify the operator function to which this observable is passed for transforming the observable.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     Angular   Observable


 Q2061. What do we specify within the pipe method ?RxJs
Ans. Operator function to which an observable is passed for transformation.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     Angular


 Q2062. Why do we do transformation on the observable itself rather than doing it in the subscriber ? RxJs
Ans. Because that way we just need to do that transformation at one place and not within each subscriber. Single source of truth.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     Angular   Observable  Suscriber


 Q2063. Can we specify multiple functions in the pipe ? What happens if we do it ?RxJs
Ans. Yes, We can specify multiple functions within pipe method. In that case first function get's called with the observable , the response if then passed to the second method and so on.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     Angular


 Q2064. Can we specify multiple maps within pipe ?RxJs
Ans. Yes, it's same as passing multiple methods within pipe. Output of one map is passed to second and so on.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     Angular


 Q2065. How can we sort an observable of a user array on user name ( name being one of the field of user ) ?RxJs
Ans. userArrayObservable.pipe(
map(userArray => {
return userArray.sort(comparator);
});
)

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     Angular


 Q2066. Can we do a thread specific heap allocation ?Memory Management
 This question is still unanswered. Can you please provide an answer.


 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     memory management  heap memory   heap allocation      expert


 Q2067. Do you ever merge changes from one feature branch to another ? Why ?SCM
 This question is still unanswered. Can you please provide an answer.


 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     SCM  Source Code Management  Configuration Control  Git  Svn


 Q2068. What does this warning message for the unit test means

WARN: 'Spec has no expectations.'
Angular
 This question is still unanswered. Can you please provide an answer.


 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     Junit   Jasmine   Karma


 Q2069. How can you trim all strings in an array ?
Ans. array.map(s => s.trim())

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     java   angular   typescript   javascript


 Q2070. Can we get the validators for a control in angular ? How ?Angular
Ans. No - https://github.com/angular/angular/issues/13461

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     


 Q2071. How can we add a text in front of all input fields in an application ?Angular
Ans. We can create a directive with selector as 'input' and then onInit of the directive , we can append the text to the input control html.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     


 Q2072. Can we have multiple selectors for a directive in Angular ?Angular
Ans. Yes

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     


 Q2073. What is the use of NgControl ?Angular
 This question is still unanswered. Can you please provide an answer.


 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     


 Q2074. What is the use of Renderer class in angular ?Angular
 This question is still unanswered. Can you please provide an answer.


 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     


 Q2075. What is the use of ElementRef in angular ?Angular
 This question is still unanswered. Can you please provide an answer.


 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     


 Q2076. How can we add a particular styling to a field based on a condition ? Angular
Ans. We can create a directive to do that.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     


 Q2077. Can we have a directive that get's applied based on an attribute on a field ?Angular
Ans. Yes

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     


 Q2078. What would you use the span element for ?HTML
 This question is still unanswered. Can you please provide an answer.


 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     


 Q2079. What will be the output of following ?

String str1 = new String("String1");
String str2 = new String("String1");
System.out.print(str1 == str2);
System.out.print(str1.equals(str2));
str1 = str2;
System.out.print(str1 == str2);
Core Java
a. falsetruetrue
b. truetruetrue
c. truetruefalse
d. falsetruefalse

Ans.a. falsetruetrue

 Q2080. What will be the output of following code ?

String str1 = "String1";
String str2 = "String1";
System.out.print(str1 == str2);
System.out.print(str1.equals(str2));
str1 = str2;
System.out.print(str1 == str2);
Core Java
a. falsetruetrue
b. falsefalsetrue
c. truetruetrue
d. falsefalsefalse

Ans.c. truetruetrue

previous 30   

Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked: