What is stateless class in java?



What is stateless class in java?..

Answer / Nikhil Sharma

A stateless class in Java is a class that does not maintain any client-specific state information between method invocations. Such classes can be recreated each time they are needed, and they do not depend on the order of method invocations.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Java Related AllOther Interview Questions

Why are command line arguments passed as a string?

1 Answers  


What are the Advantages of java se 8 new features?

1 Answers  


Which is the Best institute to do academic Project in Java? Need information about institutes at Ameerpet, Hyderabad.

8 Answers  


Write a program for the problem: the array of inetegers indicating the marks of the students is given, U have to calculate the percentile of the students aaccording to this rule: the percentile of a student is the %of no of student having marks less then him. For eg: suppose Student Marks A 12 B 60 C 80 D 71 E 30 F 45 percentile of C = 5/5 *100 = 100 (out of 5 students 5 are having marks less then him) percentile of B = 3/5*100 = 60% (out of 5, 3 have markses less then him) percentile of A = 0/5*100 = 0%.

1 Answers   Sapient,


What is type_scroll_insensitive in java?

1 Answers  


What is dao in java?

1 Answers  


Is java an api?

1 Answers  


Can a dead thread be started again?

1 Answers  


What is setstring method in java?

1 Answers  


What is java net url?

1 Answers  


Which is best framework in java?

1 Answers  


When is static variable loaded? Is it at compile time or runtime? When exactly a static block is loaded in java?

1 Answers  


Categories