Interview Question and Answers | Search Coding Interview Questions - 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

   next 30
 Q3361. What is Google BigQuery? What are the benefits of BigQuery for the data warehouse practitioners ?Google Cloud Platform (GCP)
 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     


 Q3362. Could you walk me through and draw out a sketch of a recent architecture project you completed ?architecture
 This question was recently asked at 'Microsoft'.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     design     Asked in 1 Companies


 Q3363. 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     


 Q3364. What are the best practices for designing rest web services ?Web Services
 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     


 Q3365. Can you share some of the best practices while designing authentication and authorization system ?Authentication
 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     best practices


 Q3366. 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     


 Q3367. Function libraries concept can not be implemented in Data Driven Framework?
Ans. True

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

   Like         Discuss         Correct / Improve     


 Q3368. What is Android?Android
Ans. Android is a stack of software for mobile devices which includes an Operating System, middleware and some key applications. The application executes within its own process and its own instance of Dalvik Virtual Machine.

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

   Like         Discuss         Correct / Improve     


 Q3369. How to swap two numbers without using a third variable?Core Java
Ans. int a = 10;
int b = 20;

b = b + a; // now b is sum of both the numbers
a = b - a; // b - a = (b + a) - a = b (a is swapped)
b = b - a; // (b + a) - b = a (b is swapped)

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

   Like         Discuss         Correct / Improve     


 Q3370. What's the difference between an array and Vector?Core Java
Ans. An array groups data of same primitive type and is static in nature while vectors are dynamic in nature and can hold data of different data types.

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

   Like         Discuss         Correct / Improve     


 Q3371. Can main() method in Java can return any data?Core Java
Ans. In java, main() method can't return any data and hence, it's always declared with a void return type.

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

   Like         Discuss         Correct / Improve     


 Q3372. What is the difference between double and float variables in Java?Core Java
Ans. In java, float takes 4 bytes in memory while Double takes 8 bytes in memory. Float is single precision floating point decimal number while Double is double precision decimal number.

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

   Like         Discuss         Correct / Improve     


 Q3373. What are Loops in Java? What are three types of loops?Core Java
Ans. Looping is used in programming to execute a statement or a block of statement repeatedly. There are three types of loops in Java:
1) For Loops
For loops are used in java to execute statements repeatedly for a given number of times. For loops are used when number of times to execute the statements is known to programmer.
2) While Loops
While loop is used when certain statements need to be executed repeatedly until a condition is fulfilled. In while loops, condition is checked first before execution of statements.
3) Do While Loops
Do While Loop is same as While loop with only difference that condition is checked after execution of block of statements. Hence in case of do while loop, statements are executed at least once.

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

   Like         Discuss         Correct / Improve     


 Q3374. What are the different ways of creating threads in java?Core Java
Ans. There are two ways to create the threads in java
a) By extending java.lang.Thread class.
b) By implementing java.lang.Runnable interface.

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

   Like         Discuss         Correct / Improve     


 Q3375. What are the differences between static and non-static methods?Core Java
Ans. Static method is common to all instances of a class. Static methods are stored in the class memory. Whereas non-static methods are stored in the object memory. Each instance of a class will have their own copy of non-static methods.

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

   Like         Discuss         Correct / Improve     


 Q3376. 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


 Q3377. What are the static class members loaded into the memory ?OOP
 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     


 Q3378. 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


 Q3379. How to you resolve merge conflicts in GIT ?Git
 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     


 Q3380. What do you mean by inheritance in java?Core Java
Ans. Inheritance is one of the key principle of object oriented programming. Through inheritance, one class can inherit the properties of another class. The class from which properties are inherited is called super class and the class to which properties are inherited is called sub class.

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

   Like         Discuss         Correct / Improve     


 Q3381. What are the fundamental principles of object oriented programming? / What are the OOPs concepts?Core Java
Ans. a) Inheritance
b) Abstraction
c) Polymorphism
d) Encapsulation

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

   Like         Discuss         Correct / Improve     


 Q3382. What are the main features of Java?Core Java
Ans. a) Object Oriented
b) Simple
c) Platform Independent
d) Secured
e) Robust
f) Portable
g) Multithreaded
h) Distributed

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

   Like         Discuss         Correct / Improve     


 Q3383. What is a pseudo-class?CSS
Ans. It is a CSS technique that sets the style when an element changes its state. E.g. style changes when mouse hover, different styles for visited or unvisited links, etc.

There are four different types of pseudo-classes:

Links: These pseudo-classes are used to style the link both in its normal state by default and when it has already been visited
Dynamic: Dynamic pseudo-classes can be applied to any element to define how they are shown when the cursor is located on them, or by clicking on them or when they are selected
Structural: Structural pseudo-classes allow to style elements based on an exact numerical position of the element
Others: Some elements can be styled differently based on the language or what type of label they are not.
Format
Name
Elements are styled if
Compatibility
Link and Dynamic Pseudo-classes
: link   Link   the value of the href attribute is not in the history   IE4, FF1, O3.5, S1, CSS1
: visited   Link Visited   the value of the href attribute is in the history   IE4, FF1, O3.5, S1, CSS1
: target   Target Link   a targeted link   FF1.3, O9.5, S1.3, CSS3
: active   Active   the element has been clicked   IE7, FF1, O3.5, S1, CSS1
: hover   On   the cursor is over the element   IE4 *, FF1, O3.5, S1, CSS2
: focus   Focus   the element captures the focus of the document   IE7, FF1, O7, S1, CSS2
* Only available for the item before IE7
Structural and Other Pseudo-classes
: root   Root   is the main element of a document   FF1.5, O9.5, S3.1, C3, CSS3
: empty   Empty   does not have child nodes   FF1.5, O9.5, S3.1, C3, CSS3
: only-child   Only son   has no sibling nodes   FF1.5, O9.5, S3.1, C3, CSS3
: only-of-type   Type Only   has a unique selector among its siblings   FF1.5, O9.5, S3.1, C3, CSS3
: first-child   First son   is the first child node of another element   FF1.5, O9.5, S3.1, C3, CSS3
: nth-of-type (n)   Nth of Type   is the nth element with that selector   FF1.5, O9.5, S3.1, C3, CSS3
: last-child   Last son   is the last child node of an element   FF1.5, O9.5, S3.1, C3, CSS3
: first-of-type   First of the Kind   is the first element of its selector type in the parent element   FF1.5, O9.5, S3.1, C3, CSS3
: last-of-type   Last of the Type   is the last element of its selector type in the parent element   FF1.5, O9.5, S3.1, C3, CSS3
: lang   Language   has a specifically defined language code   IE8, FF1.5, O9.5, S3.1, C3, CSS2.1
: not   Denial   you are not using a specific selector   FF1.5, O9.5, S3.1, C3, CSS3

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

   Like         Discuss         Correct / Improve     


 Q3384. 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


 Q3385. 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     


 Q3386. 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


 Q3387. 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


 Q3388. 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


 Q3389. What is the difference between Merge and "Stash and Merge" ?Git
 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     


 Q3390. Can you write a regex pattern that would validate if the word starts with a capital alphabet and then alphanumeric thereafter.Regex
Ans. ^[A-Z][a-z,A-Z,0-9]*$

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

   Like         Discuss         Correct / Improve     


previous 30   next 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: