anij0009 Profile

Anijit
Join Date:
2012-01-15
About
owner of http://interviewquestionjava.blogspot.com/
My Social profiles
Blogs Owned
1. JAVA INTERVIEW QUESTIONS
Interview questions on Java, J2EE, Spring, Struts, Hibernate.For people interested in Java & related Technologies.
Latest Blog Posts
- SQL: OR CommandIn SQL, we have seen the use of AND command, to set multiple condition when performing a database transaction. But when we use AND, that means it's a mandatory condition. The transaction will provide output, only when all the conditions will be satis...
- SQL: AND CommandIn SQL, we have, seen that, we can add conditions by using WHERE command, during any SELECT, UPDATE or DELETE operation. Now, what about multiple conditions? For that, SQL provides to add multiple condition by using AND command. it can be used a...
- SQL: WHERE Commandon Feb 22, 2013In SQL,when ever you want to SELECT some data, or UPDATE or DELETE some information from a Table, you needs to provide some condition, on basis of which operation will be performed. It's not necessary to SELECT, UPDATE or DELETE all data from a table...
- SQL: SELECT CommandSELECT command is use in SQL to "SELECT [some info] FROM [a location]". Now, this is the basic structure of the SELECT query, where SELECT and FROM are 2 commands of SQL. Here, [some info] part will be the column names separated by comma (,) si...
- JAVA: Parse String to Doubleon Feb 14, 2013 in JAVA INTERVIEW QUESTIONS JAVAPaser String to Double:You can parse a double value in string format to double in 4 ways.Double.valueof(String s) : This method returns a double object containing the value invoked in it in string format.It can trim white-space in start or end...
- SQL: What is SQL SQL (Structured Query Language) is a type of programming language, which uses to communicate with database. It’s also known as “sequel”. It provides some syntax which helps you to interact with a database. These syntaxes are very similar...
- FRAMEWORK: MVC – Model View ControllerModel-View-Controller (MVC) is a popular Software Architecture pattern widely used in web applications. It separates application data from UI (user interface) by a thin controlling layer, which actually helps as a bridge between UIs and model. In thi...
- FRAMEWORK: WHAT IS FRAMEWORK? WHAT’S THE DIFFERENCE BETWEEN FRAMEWORK AND LIBRARY?Framework: A framework is a basic conceptual and reusable structure which provides generic functionality, used to solve or address complex issues.A software frameworkprovides basic architecture, application programming interfaces (APIs) and tools for...
- STRUTS: WHAT IS FRAMEWORK? WHAT’S THE DIFFERENCE BETWEEN FRAMEWORK AND LIBRARY?Framework: A framework is a basic conceptual and reusable structure which provides generic functionality, used to solve or address complex issues.A software frameworkprovides basic architecture, application programming interfaces (APIs) and tools for...
- J2EE: SERVLET: doGet() vs. doPost()on Jul 7, 2012doGet():protected void doGet(HttpServletRequest req, HttpServletResponse resp)throws ServletException, java.io.IOException – is a method of Class HttpServlet. It is called by the server (via the service method) to allow a servlet to handle a clien...
- JAVA: What is the superclass of Exceptionon Mar 5, 2012 in JAVA INTERVIEW QUESTIONS JAVAjava.lang.Throwable is the superclass of all the errors and exceptions in java.
- JAVA: Why Errors are Unchecked?on Mar 5, 2012 in JAVA INTERVIEW QUESTIONS JAVAError is unpredictable. It can occur at any point and recover is also quite impossible. So it is meaningless to declare such exception. That’s why, in java, error is unchecked.
- J2EE: SERVLET: Class GenericServlet vs Class HttpServletClass GenericServlet : · It is an abstract class which defines a generic and protocol independent servlet. Here, protocol indepen...
- J2EE: SERVLET: What is Servlet Interface?Interface javax.servlet.Servlet is that interface which defines the ServletLife Cycle methods. So, all servlets must implement this interface, either directly or by extending a class which implements this interface. Instead of directly implementing t...
- J2EE: SERVLET: What is Servlet?Servlet:Servlet is a server-side (runs within a Web server), Java Programming Language Class which interacts with clients via request-response programming model (example, HTTP Request-Response model).It can respond to any type of request, but, genera...
- JAVA: Why can’t enum extends any other class?on Feb 24, 2012 in JAVA INTERVIEW QUESTIONS JAVABy default, all enums implicitly extend java.lang.Enum. And as we know, Java doesn't support multiple inheritance, an enum cannot extend any other class.
- J2EE: SERVLET: SERVLET API Java Servlet API is that Application Program Interface (API), which defines and describes the contracts between servlets and servers. That means, it contains the set of programs and standard instructions to develop a proper access betwee...
- J2EE: SERVLET: What happens to Session if the client intentionally turns off the cookies? If client intentionally turns off the cookies, that means, the client chooses not to join the session. In this situation, until the client turns on the cookies, getSession will return a different session on each request, and isNew will a...
- J2EE: SERVLET: Session Tracking in Servlets using Interface HttpSessionSession tracking in Servlets is done by using Interface HttpSession. It helps to identify a client throughout many page requests or visiting a website and to store details about that client. Whenever a request arrives, it checks...
- INTERNET: HTTP vs. HTTPSon Feb 10, 2012 in INTERNET INTERNATE INTERVIEW QUESTIONSHTTP stands for HyperText Transfer Protocol, whereas, HTTPS is HyperText Transfer Protocol Secure.HTTP transmits everything as plan text, while HTTPS provides encrypted communication, so that only the recipient can decrypt and read the informat...