File Uploading Using Servlet »



FileUploading Using Servlet(JAVA) This is an example of the file Uploading in Java using Servlets . This file uploading concept Works with the Java as follows The Servlet api consists of the method called getContentType which takes the file request as the input and generates the file to the specified path Here is the Code [...]

Explain Interface?Define »



Interface: In Java language, an interface is like a stripped-down class; it specifies a set of methods that an instance must handle, but it omits inheritance relations and method implementations. Object-oriented programming is sometimes modeled as communication between objects like one object talks to, or sends a message to, another object ( by invoking a [...]

URL Connection Class »



URL Connection Class The URLConnection class provides a more granular interface to a URL than the getContent method in the URL class. This class provides method for examining HTTP headers, getting information about the URL’s content, and getting input and output stream to the URL. Some of the methods used in these URL Connection Class [...]

Collection FrameWork »



Q) What is Collection FrameWork? Res) A Collection FrameWork represents a class library to handle groups of objects –> Collection framework is implemented in Java.Util.Package. –> Collection does’t store copy of all the object, but it stores references of all objects. –> Collection classes will act upon only referenced datatypes they do not act upon [...]