Core Java Interview Questions – Set 05

What is the return type of a program’s main() method? A program’s main() method has a void return type. Can you change the reference of the final object No the reference cannot be change, but the data in that object can be changed What is the argument type of a program’s main() method A program’s main() method … Read more

Collections Java Interview Questions – Set 05

What is an Iterator Some of the collection classes provide traversal of their contents via a java.util.Iterator interface. This interface allows you to walk through a collection of objects, operating on each object in turn. Remember when using Iterators that they contain a snapshot of the collection at the time the Iterator was obtained; generally … Read more

Data Analytics Interview Questions – Set 05

Design a view in a map such that if a user selects any country, the states under that country has to show profit and sales. According to your question, you must have a country, state, profit and sales fields in your dataset. Double-click on the country field. Drag the state and drop it into Marks … Read more

DB2 Interview Questions – Set 05

What is the physical storage length of TIME data type? The physical storage length of TIME data type is 3 bytes. Which component is used to execute the SQL statements? Database Services component is used to execute the SQL statement. It also manages buffer pool. On which levels locks can be applied? Locking can be … Read more

JSP Java Interview Questions – Set 05

Can a JSP page process HTML FORM data Yes. However, unlike Servlet, you are not required to implement HTTP-protocol specific methods like doGet() or doPost() within your JSP page. You can obtain the data for the FORM input elements via the request implicit object within a scriptlet or expression as. Is there a way to … Read more

Exception Handling Java Interview Questions – Set 05

How do you intercept and thereby control exceptions We can do this by using try/catch/finally blocks You place the normal processing code in try block You put the code to deal with exceptions that might arise in try block in catch block Code that must be executed no matter what happens must be place in … Read more

Project Management Interview Questions – Set 05

What is the plan baseline? These are the final version of all plans before the initiation of a project. It includes time schedule, quality plan, communication plan, and everything else. This acts as the reference to measure the project performance. How in the project time schedule represented most often? Activity scheduling network diagram is the … Read more

SQL Interview Questions – Set 05

What is self-join and what is the requirement of self-join? A self-join is often very useful to convert a hierarchical structure to a flat structure. It is used to join a table to itself as like if that is the second table. What is ACID property in a database? ACID property is used to ensure … Read more

PL/SQL Interview Questions – Set 05

What is the difference between syntax error and runtime error? A syntax error can be easily detected by a PL/SQL compiler. For example: incorrect spelling etc. while, a runtime error is handled with the help of exception-handling section in a PL/SQL block. For example: SELECT INTO statement, which does not return any rows. How to … Read more

Servlet Java Interview Questions – Set 05

Explain about ServletConfig Interface ServletConfig a ServletConfig object is used to obtain configuration data when it is loaded. There can be multiple ServletConfig objects in a single web application. This object defines how a servlet is to be configured is passed to a servlet in its init method. Most servlet containers provide a way to … Read more