What is meant by Session? Explain something about HTTP Session
Class?
Answer / gaurav khandelwal
A Session refers to all the request that a single client
makes to a server. A session is specific to the user and
for each user a new session is created to track all the
request from that user. Every user has a separate session
and separate session variable is associated with that
session.
HttpSession is an interface that Provides a way to identify
a user across more than one page request or visit to a Web
site and to store information about that user.
Is This Answer Correct ? | 11 Yes | 2 No |
Which variables are stored in stack?
What is multi-catch block in java?
Why is it called buffering?
Can an abstract class have a constructor?
What is the maximum size of byte array in java?
when asub class inherits a super class and overrides a public method of super class in sub class(public method in super class). why these methods needs to be public in sub class. (otherwise compile time error).
ublic class Java_Coding_Samples { public static void JavaHungr(NumberFormatException ae){ System.out.println("integer"); } public static void JavaHungry(Exception e){ System.out.println("string"); } public static void JavaHungry(ArithmeticException ae){ System.out.println("object"); } public static void main(String[] args) { JavaHungry(null); }
Hi Friends, I am beginner in java. what i know about synchonized keyword is,If more that one 1 thread tries to access a particular resource we can lock the method using synchronized keyword. Then after that how the lock is released and how next thread access that.Please explain with example.
How is a structure different from array ?
What does it mean to be immutable?
What is exception handling in java?
Why to use nested classes in java?