Java Servlet Advantage
Following are the advantages of java
Life cycle of Servlet
The life cycle of a servlet can be categorized into four parts:-
Loading and instantiation
Servicing the request
The servlet Destroying
Generic Servlets Methods
public ServletConfig getServletConfig()
public String getServletInfo()
s public destroy()Reply
HTTP Servlet is used to mange HTTP request and response through HTTP protocol .
HTTP Servlet Manage information about the state of a stateless HTTP.
Java Servlet is server side programming language used to make as client server application using Java.It is as server side programing language like PHP,ASP .
Java Servlet is JAVA program that are compatible with server to process request and response.
Java Servlet Take request and response to client as per as client request. Reply
what is big data?
Big data is a oad term for data sets so large or complex that traditional data processing applications to describe the exponential growth and availability of data, both structured and unstructured.Reply
Introduction and brief history of C Programming language
C is programming language developed in the at AT and Tee Bell Laboratories of USA in 1972's. It was designed and developed by man named Dennis Richte. C is so popular because it reliable and simple and easy to use, with the help of C language new languages are born known as C++, Java, C# and many other languages.Reply
what are the difference between public, default, protected, and private?
Can access only the class in which it is declared can see it.
This is the default in Java
Package Private + can be seen by subclasses or package member.
Everyone can see it.Reply
Find middle element of LinkedList
Find the size of list then divide by 2 and pass it into get(int i) methods.
int size = list.size();
int middle = (size / 2);
Find duplicate elements from List
The method add of Set return a boolean whether a value already exists (true if it does not exist, false if it already exists).
So we check it and store duplicate items in other list or collection Reply