1.what is seesion?
2.what is ORM?
3.cache levels in hibernate?
4.how to call jrxml file into our java class?
5.what is plymorphisum,encapsulation and abstraction?
6.what is abstract class and Interface?
7.multi-threading concept?
8.explain project structure work flow?
9.what is bean?
10.what is the use of @RequestMapping()?
11.what is Path variable?
12.what is @ModelAttribute...
Thursday, 5 January 2017
Tuesday, 23 September 2014
Immutable Class Interview Questions
Q1) What is an immutable class?
Ans) Immutable class is a class which once created, it’s contents can not be changed. Immutable objects are the objects whose state can not be changed once constructed. e.g. String class
Q2) How to create an immutable class?
Ans) To create an immutable class following steps should be followed:
Create a final class.
Set the values of properties using...
Write a JAVA program to implement a Queue using user defined Exception Handling (also make use of throw, throws)
Friday, 12 September 2014
Diffs
what is difference between servlet and cgi?
CGI :
Written in C, C++, Visual Basic and Perl
Difficult to maintain, non-scalable, non-manageable
Prone to security problems of programming language
Resource intensive and inefficient
Platform and application-specific
Every time a new process begins each time a request is made to CGI program.
A CGI program (and probably also an extensive runtime system...
Thursday, 31 July 2014
Collections
Q1.
What are limitations of object Arrays?
The
main limitations of Object arrays are
These are fixed in size ie once
we created an array object there is no chance of increasing or decreasing
size based on our requirement. Hence If we don’t know size in
advance , arrays are not recommended to use
Arrays can hold only
homogeneous elements.
There is no underlying...
Subscribe to:
Posts (Atom)