Interview Questions and Answers for 'T' | 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

   next 30
 Q871. Name few long data type related classes and interfaces ?
Ans. http://www.buggybread.com/2015/01/java-data-types-long-classes-and.html

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

   Like         Discuss         Correct / Improve     java   data types   long


 Q872. Name few String related classes and interfaces ?Core Java
Ans. http://www.buggybread.com/2015/01/java-string-classes-and-interfaces.html

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

   Like         Discuss         Correct / Improve     java   string


 Q873. Name few Queue classes and interfaces ?
Ans. http://www.buggybread.com/2015/01/java-collections-queue-classes-and.html

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

   Like         Discuss         Correct / Improve     java   collections   queue


 Q874. What are few iterator classes provided by Java ?
Ans. http://www.buggybread.com/2015/01/java-iterator-classes-and-interfaces.html

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

   Like         Discuss         Correct / Improve     java   collections   iterator


 Q875. Name few Writer classes ?
Ans. http://www.buggybread.com/2015/01/java-output-writer-classes-and.html

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

   Like         Discuss         Correct / Improve     java   input output   io   writer


 Q876. Name few Reader classes ?
Ans. http://www.buggybread.com/2015/01/java-input-reader-classes-and-interfaces.html

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

   Like         Discuss         Correct / Improve     java   input output   io   reader


 Q877. Name few Error and Exception classes provided by Java ?
Ans. http://www.buggybread.com/2015/01/java-list-of-error-exception-classes.html

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

   Like         Discuss         Correct / Improve     java   exceptions   error


 Q878. Name few classes that are part of java.util package ?
Ans. http://www.buggybread.com/2015/01/java-javautil-classes-and-interfaces.html

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

   Like         Discuss         Correct / Improve     java   java.util


 Q879. Name few Java util classes that were introduced with Java 7 ?
Ans. http://www.buggybread.com/2015/01/migrating-to-java-7-new-classes_25.html

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

   Like         Discuss         Correct / Improve     java   java.util   util   java 7   java7


 Q880. Name few Java Util classes introduced with Java 8 ?Core Java
Ans. http://www.buggybread.com/2015/01/migrating-to-java-8-new-classes_25.html

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

   Like         Discuss         Correct / Improve     java   java.util   util   java 8   java8


 Q881. What is the difference betweeen @Inject and @Autowired ?Spring
Ans. @Autowired and @Inject are similar in terms of functionality they achieve. @Inject is part of a new Java technology called CDI that defines a standard for dependency injection whereas @Autowired is a Spring specific annotation for dependency injection.

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

   Like         Discuss         Correct / Improve     spring   web frameworks   dependency injection   autowired   inject   spring annotations   ioc


 Q882. How to make sure that a string contains only Numerals ?Core Java
Ans. We can use NumberUtils.isNumber which is a part of apache commons package.

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

   Like         Discuss         Correct / Improve     java   apache commons   numberutils   numberutils.isnumber


  Q883. What is Jenkins ?Jenkins
Ans. It is a continuous integration tool written in Java.

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

   Like         Discuss         Correct / Improve     java   jenkins     Asked in 6 Companies      Basic        frequent


 Q884. Do you know the way to remove unused imports automatically in eclipse ?Eclipse
Ans. Select the package -> Right Click -> Source -> Organize Imports.

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

   Like         Discuss         Correct / Improve     eclipse   import statement   code cleaning   code review   clean code


 Q885. What is Nagios ?
Ans. Nagios is open source system , network and infrastructure monitoring software application. It alerts the user if anything goes wrong. Nagios is widely used as monitoring tool for enterprise applications.

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

   Like         Discuss         Correct / Improve     production support   application support   nagios   system monitoring


 Q886. Should we have instance variables in the Spring Bean which has been scoped as Singleton ?Spring
Ans. No, if required we should only have final variables.Bean scoped singleton means that only one instance of the bean will be created and will be shared among different requests and hence instance variables will get shared too.

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

   Like         Discuss         Correct / Improve     java   singleton   spring framework   spring beans


 Q887. What is the difference between Fisheye and Crucible ?
Ans. FishEye is used to extract information from source code repository whereas Crucible is used to request, perform and manage code reviews.

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

   Like         Discuss         Correct / Improve     java   fisheye   crucible   code review   tools


 Q888. Can we use Fisheye and Crucible independently ?
Ans. Yes

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

   Like         Discuss         Correct / Improve     java   fisheye   crucible   code review   tools   yes-no


 Q889. What is atlassian Jira ?
Ans. Jira is a Issue / Ticket Management system developed by atlassian. It assists in Defect Management , Issue Management and Project Management.

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

   Like         Discuss         Correct / Improve     java   jira   issue management   defect management


Frequently asked in Tata Consultancy (TCS) interview ( Based on 2 Feedback )
 Q890. What are the technologies used in Jira ?Tools
Ans. JIRA is written in Java and uses the Pico IOC container,Apache OFBiz entity engine, and WebWork technology stack. For remote procedure calls (RPC), JIRA supports REST, SOAP, and XML RPC.

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

   Like         Discuss         Correct / Improve     java   jira   issue management   defect management     Asked in 5 Companies      expert


 Q891. Which are SCM's can be integrated with Jira ?
Ans. Clearcase, CVS, Git, Mercurial, Perforce, Subversion and Team Foundation Server

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

   Like         Discuss         Correct / Improve     java   jira   issue management   defect management


 Q892. What are the different types of boards in Jira ?
Ans. Scrum boards are for teams that plan their work in Sprints.

Kanban boards are for teams that focus on managing and constraining unplanned work.

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

   Like         Discuss         Correct / Improve     java   jira   issue management   defect management


 Q893. What is a Board in Jira ?
Ans. We need a board to work with issues in JIRA Agile. A Board can display issues from one or more projects.

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

   Like         Discuss         Correct / Improve     java   jira   issue management   defect management


 Q894. What is Jira Workflow ?
Ans. A JIRA workflow is the set of statuses and transitions that an issue goes through during its lifecycle.

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

   Like         Discuss         Correct / Improve     java   jira   issue management   defect management


 Q895. What is the Jira workflow used in your project ?
Ans. We are using the following workflow with the following Issue states

Open -> Assigned -> In Progress -> QA -> Resolved -> Closed

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

   Like         Discuss         Correct / Improve     java   jira   issue management   defect management


 Q896. What are stateless objects ? How are they different from immutable objects ? Which of these two is thread safe ?Object Oriented Programming
Ans. Stateless objects are the objects without instance fields (instance variables). The class may have compile time constants i.e static final fields.Immutable objects are the objects which have state but the state cannot be changed after initialization. Both are Thread safe.

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

   Like         Discuss         Correct / Improve     java   stateless objects   immutable  immutability objects   objects   singleton scope


 Q897. What are advantages of stateless and / or immutable objects ?Object Oriented Programming
Ans. They can be shared across multiple threads as they are thread safe.

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

   Like         Discuss         Correct / Improve     java   stateless objects   immutable  immutability objects   objects


 Q898. Write code explaining use of Scanner class ?
Ans. Scanner sc = new Scanner(System.in);
int i = sc.nextInt();

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

   Like         Discuss         Correct / Improve     java   scanner   io   console io   scanner   System.in


 Q899. In which cases isn't instanceof operator a bad practice?Core Java
Ans. To avoid ClassCastException.

Though the following code will compile fine but will result in ClassCastException during runtime.

Fruit fruit = new Apple();
Banana banana = Banana(fruit); // ClassCastException


This code will not give compile time error as Banana and Fruit are related as Banana either extends or implement Fruit, So downcasting is acceptable. With this code we assume that the Fruit handler will have the Apple object at that point, violating which the code will throw the exception.

This exception can be avoided by following code.

Fruit fruit = new Apple();
if(fruit instanceOf Banana){
Banana banana = Banana(fruit); // ClassCastException
}

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

   Like         Discuss         Correct / Improve     java   instanceof   classcastexception   runtime exceptions  instanceOf operator

Try 2 Question(s) Test


 Q900. Difference between Scanner and BufferedReader ? Which one is faster and Why ?Core Java
Ans. Scanner is used for parsing tokens from the contents of the stream while BufferedReader just reads the stream.

BufferedReader read files efficiently by using a buffer to avoid physical disk operations.

Buffer size of Scanner is usually smaller than the Buffered Writer.

BufferedReader is faster that Scanner as it just reads the Stream and doesn't Parse the tokens to read the stream into primitive data types.

  Sample Code for Scanner

  Sample Code for BufferedReader

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

   Like         Discuss         Correct / Improve     java   file io   input output   scanner   bufferedreader  file handling


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: