Author: Sanjay Mishra

Servlet

Q. What are Servlets? A. Servlets are small programs which execute on the web server  They run under web server environment exploiting the functionalities of the web server. The applets dynamically extend the functionality of a...

Read More

Generics

 What are Generics? A class, an interface or a method that act or operates on a parameterized type is called generics. Here the term generics indicate to a parameterized types. In other words, a class or an interface whose...

Read More

Exceptional Handling

 What is an exception? An abnormal condition that arises in a code sequence at run time is called an exception. During the execution of a program an exception event occurs that disturbs the  program flow. An object of an...

Read More

Threading

Name  the method that is used to start a thread execution ? start(). What are the two types of multitasking ? The two types of multitasking are: 1. Process-based. 2. Thread-based. In how many ways a Thread can be created ? A...

Read More

String Handling

 What is String in java ? A sequence of characters is called as String. But in case of  java, string is an object which represents a sequence of characters. String class is used for creation of string object. How to create...

Read More