-
What is Struts2?
Apache Struts2 is an open source framework to build web applications in Java. Struts2 is based on OpenSymphony WebWork framework. It’s highly improved from Struts1 and that makes it more flexible, easy to use and extend. The core components of Struts2 are Action, Interceptors and Result pages.
Struts2 provides many ways to create Action classes and configure them via struts.xml or through annotations. We can create our own interceptors for common tasks. Struts2 comes with a lot of tags and uses OGNL expression language. We can create our own type converters to render result pages. Result pages can be JSPs and FreeMarker templates. -
What are the differences between Struts1 and Struts2 or how Struts2 is better than Struts1?
Struts2 is designed to overcome the shortcomings of Struts1 and to make it more flexible, extendable. Some of the noticeable differences are:
Friday, January 31, 2014
Struts2 Interview Questions and Answers
Core Java Interview Questions and Answers
Whether you are a fresher or highly experienced professional, core java
plays a vital role in any Java/JEE interview. Core Java is the favorite
area in most of the interviews and plays a crucial role in deciding the
outcome of your interview.
I have already written a lot about java interview questions for specific topics such as String, Collections and Multithreading.
I have already written a lot about java interview questions for specific topics such as String, Collections and Multithreading.
- Java String Interview Questions
- Java Thread Interview Questions
- Java Collections Interview Questions
- Java Exception Interview Questions
- What do you mean by platform independence of Java?
- What is JVM and is it platform independent?
- What is the difference between JDK and JVM?
- What is the difference between JVM and JRE?
- Which class is the superclass of all classes?
- Why Java doesn’t support multiple inheritance?
- Why Java is not pure Object Oriented language?
- What is difference between path and classpath variables?
- What is the importance of main method in Java?
- What is overloading and overriding in java?
- Can we overload main method?
- Can we have multiple public classes in a java source file?
- What is Java Package and which package is imported by default?
- What are access modifiers?
- What is final keyword?
- What is static keyword?
- What is finally and finalize in java?
- Can we declare a class as static?
- What is static import?
- What is try-with-resources in java?
- What is multi-catch block in java?
- What is static block?
- What is an interface?
- What is an abstract class?
- What is the difference between abstract class and interface?
- Can an interface implement or extend another interface?
- What is Marker interface?
- What are Wrapper classes?
- What is Enum in Java?
- What is Java Annotations?
- What is Java Reflection API? Why it’s so important to have?
- What is composition in java?
- What is the benefit of Composition over Inheritance?
- How to sort a collection of custom Objects in Java?
- What is inner class in java?
- What is anonymous inner class?
- What is Classloader in Java?
- What are different types of classloaders?
- What is ternary operator in java?
- What does super keyword do?
- What is break and continue statement?
- What is this keyword?
- What is default constructor?
- Can we have try without catch block?
- What is Garbage Collection?
- What is Serialization and Deserialization?
- How to run a JAR file through command prompt?
- What is the use of System class?
- What is instanceof keyword?
- Can we use String with switch case?
CORE JAVA INTERVIEW QUESTION (170 questions)
148)What are wrapper classes?
Wrapper classes are classes that allow primitive types to be accessed as objects. |
149)What is a native method?
A native method is a method that is implemented in a language other than Java. |
150)What is the purpose of the System class?
The purpose of the System class is to provide access to system resources. |
151)What comes to mind when someone mentions a shallow copy in Java?
Object cloning. |
CORE JAVA INTERVIEW QUESTION (170 questions)
117) What is Garbage Collection?
Garbage collection is a process of reclaiming the runtime unused objects.It is performed for memory management. more details... |
118) What is gc()?
gc() is a daemon thread.gc() method is defined in System class that is used to send request to JVM to perform garbage collection. |
119) What is the purpose of finalize() method?
finalize() method is invoked just before the object is garbage collected.It is used to perform cleanup processing. |
120) Can an unrefrenced objects be refrenced again?
Yes. |
121)What kind of thread is the Garbage collector thread?
Daemon thread. |
122)What is difference between final, finally and finalize?
final: final is a keyword, final can be variable, method or class.You, can't change the value of final variable, can't override final method, can't inherit final class. |
finally: finally block is used in exception handling. finally block is always executed. |
finalize():finalize() method is used in garbage collection.finalize() method is invoked just before the object is garbage collected.The finalize() method can be used to perform any cleanup processing. |
JSP INTERVIEW QUESTIONS (20 interview questions)
1)What is JSP?
Java Server Pages technology (JSP) is used to create dynamic web page.It is an extension to the servlet.A JSP is internally converted into servlet. more details... |
2)What are the life-cycle methods for a jsp?
|
3)What is difference between hide comment and output comment?
The jsp comment is called hide comment whereas html comment is called output comment.If user views the source of the page, the jsp comment will not be shown whereas html comment will be shown. |
Wednesday, January 29, 2014
Java Interview Questions
What do you know about Java?
A: Java is a high-level programming language originally
developed by Sun Microsystems and released in 1995. Java runs on a
variety of platforms, such as Windows, Mac OS, and the various versions
of UNIX.
Q: What are the supported platforms by Java Programming Language?
A: Java runs on a variety of platforms, such as Windows, Mac
OS, and the various versions of UNIX/Linux like HP-Unix, Sun Solaris,
Redhat Linux, Ubuntu, CentOS, etc.
Q: List any five features of Java?
A: Some features include Object Oriented, Platform Independent, Robust, Interpreted, Multi-threaded
Q: Why is Java Architectural Neutral?
A: It’s compiler generates an architecture-neutral object file
format, which makes the compiled code to be executable on many
processors, with the presence of Java runtime system.
Best Interview Tips For Personal Interview – Job Interview Questions And Answers
Continuing with the series on Job Interview Questions and Answers, below is an article on Best Interview Tips For Personal Interview.
It’s an eternal truth that cracking interviews remains one of the toughest challenges to combat for all aspirants or job seekers. Across the globe, any discussion or session on clearing interviews has been a buzzword!!! At times I feel that Interviews are more like real life movies for which there is an outline within which one needs to act. Also, it would not be wrong to say that it’s like a game. You know that you can do the job-you just need some help in persuading interviewers to give you the chance to prove it.
It’s an eternal truth that cracking interviews remains one of the toughest challenges to combat for all aspirants or job seekers. Across the globe, any discussion or session on clearing interviews has been a buzzword!!! At times I feel that Interviews are more like real life movies for which there is an outline within which one needs to act. Also, it would not be wrong to say that it’s like a game. You know that you can do the job-you just need some help in persuading interviewers to give you the chance to prove it.
MBA calling: How to prepare for the personal interview
Though
there is no dearth of articles on interview etiquette, there is an
actual shortage of good articles on the most crucial factor in an
interview -- the interviewer's questions and your answers. Many problems
candidates have include nervousness and stammering in an interview,
which is directly related to the candidate's unfamiliarity with the
questions and a general lack of preparation.
TCYonline.com experts present for the readers of Rediff.com, a few of the most commonly asked interview questions. There are no ready-made answers to the questions, instead, the attempt is to try to help you arrive at the correct answer yourself, so that you sound natural and coherent in an interview. Ultimately, an interview is a mirror to see your inner self and a subjective, specific and honest presentation is the key to success.
Q. Tell me some thing about yourself.This is how most interviews begin and this is one question you cannot afford to be unprepared for.
To frame a good answer it is always helpful to know what is it that the interviewer wants to know about you. An interviewer would like to know.
~ Your educational background~ Your work experience, if any~ Your strengths and achievements
~ About your family background~ About where you are coming from academically, professionally
You should be short and crisp about all the points mentioned above. If the interviewer needs an elaboration s/he will ask you.
TCYonline.com experts present for the readers of Rediff.com, a few of the most commonly asked interview questions. There are no ready-made answers to the questions, instead, the attempt is to try to help you arrive at the correct answer yourself, so that you sound natural and coherent in an interview. Ultimately, an interview is a mirror to see your inner self and a subjective, specific and honest presentation is the key to success.
Q. Tell me some thing about yourself.This is how most interviews begin and this is one question you cannot afford to be unprepared for.
To frame a good answer it is always helpful to know what is it that the interviewer wants to know about you. An interviewer would like to know.
~ Your educational background~ Your work experience, if any~ Your strengths and achievements
~ About your family background~ About where you are coming from academically, professionally
You should be short and crisp about all the points mentioned above. If the interviewer needs an elaboration s/he will ask you.
Sales Executive In Automobile Industry, Call Rajesh 09915011717
Job Description
elling MAHINDRA cars. We are looking for passionate sales professionals (Fresher's May Also Apply). Job involves Maintaining & developing relationships with existing / Walk -in customers via meeting, telephone calls & emails
Salary:
INR 1,00,000 - 3,00,000 P.A
Industry:
Automobile / Auto Anciliary / Auto Components
Functional Area:
Sales, Retail, Business Development
Role Category:
Retail Sales
Role:
Sales Executive/Officer
Keyskills:
direct marketing Automobile Sales car sales selling carsused car salessales sellingbusiness development Customer Relationship Management
Sr.sales Officer in an Automobile Industry - Call on 7259014184
Job Description
Qualifications
Graduates/Dip. with minimum 1-year experience in Sales or Freshers
Excellent Communication and People skills
Goals
Make the customers visit to the showroom memorable and also ensuring increase in sales & re-visits.
Achieve monthly target.
Advisor to a customer helps the Customer decide according to his needs Sales Consultant.
Main Tasks
Generate profit
Follow all reporting systems
Organize road shows
Post delivery follow up calls
Referral sale
Grooming decorum & Punctuality
Interested candidates forward your profile to chaitra@infosourceconsulting.in or call on 7259014184.
Graduates/Dip. with minimum 1-year experience in Sales or Freshers
Excellent Communication and People skills
Goals
Make the customers visit to the showroom memorable and also ensuring increase in sales & re-visits.
Achieve monthly target.
Advisor to a customer helps the Customer decide according to his needs Sales Consultant.
Main Tasks
Generate profit
Follow all reporting systems
Organize road shows
Post delivery follow up calls
Referral sale
Grooming decorum & Punctuality
Interested candidates forward your profile to chaitra@infosourceconsulting.in or call on 7259014184.
Salary:
INR 1,50,000 - 3,50,000 P.A. BEST IN THE Industry WITH GOOD Incentives
Industry:
Automobile / Auto Anciliary / Auto Components
Functional Area:
Sales, Retail, Business Development
Role Category:
Retail Sales
Role:
Sales Executive/Officer
Keyskills:
sales Automobile Sales Retail Sales car sales marketing day shift
TL / A M - Sales in an Automobile Company. Call on 7259014184
Job Description
Qualifications
Minimum 5-year experience in Sales
Knowledge & Experience of Sales & Marketing Operations
Potential to Develop Management Skills
Product & General Automotive Business Knowledge
Customer Handling Skills
Management Graduates with minimum 5 years experience in sales and Marketing
Goals
Achieving the assigned Sales Team Target
Ensure Customer Satisfaction
Increase Market Share
Main Tasks
Monitoring and Mentoring the Sales Officers
Assigning the targets to Sales Officers
Allocating the right area to the Sales Officer
Conducting Road Shows
Meeting existing customers to generate reference
Advising the sales officers sell the vehicles in stock
Minimum 5-year experience in Sales
Knowledge & Experience of Sales & Marketing Operations
Potential to Develop Management Skills
Product & General Automotive Business Knowledge
Customer Handling Skills
Management Graduates with minimum 5 years experience in sales and Marketing
Goals
Achieving the assigned Sales Team Target
Ensure Customer Satisfaction
Increase Market Share
Main Tasks
Monitoring and Mentoring the Sales Officers
Assigning the targets to Sales Officers
Allocating the right area to the Sales Officer
Conducting Road Shows
Meeting existing customers to generate reference
Advising the sales officers sell the vehicles in stock
Automobile/mechanical Engineer
Job Description
A middle level position(Astt Manager) in a
leading service provider company engage in the activity of inspections
and valuations of all kind of vehicles. Person from automobile background will be preferred. Complete office job.
Salary:
INR 90,000 - 1,75,000 P.A
Industry:
Banking / Financial Services / Broking
Functional Area:
Financial Services, Banking, Investments, Insurance
Role Category:
Operations/Processes
Role:
Claims Executive
Keyskills:
Automobile and Auto Ancillary and Auto ComponentsMechanical Engineering InspectionsAutomobile Inspectionsvehicle InspectionVehicle Valuations
Territory Service Manager for Automobile (2 Wheeler) Co. - 5 Opening(s)
Job Description | Dealer Business growth & Profitability: A. Improve service market share of dealer by increasing free service redemption and overall service inflow. To improve service productivity in workshop. 2. Improve CSI Score: A. Obtain feedback from customers at regular interval and use the same for improving adherence to service standard at the dealership. Provide feedback to HO for any revision of service standards. B. Conduct service process audit of relevant standards based on the customer feedback every month. |
KEY Account Manager (FOR A Leading Automobile Dealer)
Job Description
Marketing Skills , Finance (Debtors) Management
Handling Key account of top customers+ Marketing activities
Candidates with 5+yrs of exp. in handling Key Accounts in automobile dealer environment.
Handling Key account of top customers+ Marketing activities
Candidates with 5+yrs of exp. in handling Key Accounts in automobile dealer environment.
Salary:
Not Disclosed by Recruiter
Industry:
Automobile / Auto Anciliary / Auto Components
Functional Area:
Sales, Retail, Business Development
Role Category:
Corporate Sales
Role:
Client Servicing/Key Account Manager
Keyskills:
Key Accounts Management Key Account Handling
Monday, January 27, 2014
DB Interview Questions
DB
Interview Questions
Java Interview Questions
Java Interview Questions
What's your best interview question?
Google is famous for the intensity and rigour of its recruitment process. It's not easy to get a job there, and those who have done so are rightly proud of their Google-hood.

Google has acknowledged that its fiendishly difficult interview questions are no predictor of the success of the candidate. Laszlo Bock, the senior vice-president of people operations at Google, said in an interview in The New York Times that "we did a study to determine whether anyone at Google is particularly good at hiring. We looked at tens of thousands of interviews, and everyone who had done the interviews and what they scored the candidate, and how that person ultimately performed in their job. We found zero relationship."
Not very encouraging, is it? Is it true that a job interview merely determines how good a candidate is at job interviews? In which case, you might as well have some fun with the questions.
How lucky are you and why?
What is your least favourite thing about humanity?
How does the internet work?
If you were a box of cereal, which one would you be?
These are all job interview questions, listed in Fast Company as part of Glassdoor's "oddball" job interview questions.
Friday, January 24, 2014
The 25 most difficult questions you'll be asked on a job interview
1. Tell me about yourself.
Since this is often the opening question in an interview, be extracareful that you don't run off at the mouth. Keep your answer to a minute or two at most. Cover four topics: early years, education, work history, and recent career experience. Emphasize this last subject. Remember that this is likely to be a warm-up question. Don't waste your best points on it.2. What do you know about our organization?
You should be able to discuss products or services, revenues, reputation, image, goals, problems, management style, people, history and philosophy. But don't act as if you know everything about the place. Let your answer show that you have taken the time to do some research, but don't overwhelm the interviewer, and make it clear that you wish to learn more.You might start your answer in this manner: "In my job search, I've investigated a number of companies.
Yours is one of the few that interests me, for these reasons..."
Give your answer a positive tone. Don't say, "Well, everyone tells me that you're in all sorts of trouble, and that's why I'm here", even if that is why you're there.
Job Interview Questions With Answers
Illegal Interview Questions
Federal and state laws prohibit prospective employers from asking certain questions that are not related to the job they are hiring for.
Interview Questions Employers Should Not Ask
There are some interview questions, typically known as illegal interview questions, that employers should not ask during a job interview. Here are questions that shouldn't be asked during a job interview and how to respond if you're asked inappropriate questions.
Entry Level Job Interview Questions
Federal and state laws prohibit prospective employers from asking certain questions that are not related to the job they are hiring for.
Interview Questions Employers Should Not Ask
There are some interview questions, typically known as illegal interview questions, that employers should not ask during a job interview. Here are questions that shouldn't be asked during a job interview and how to respond if you're asked inappropriate questions.
Entry Level Job Interview Questions
Thursday, January 23, 2014
How to Answer 23 of the Most Common Interview Questions
1. So, tell me a little about yourself.
I'd be very surprised if you haven't been asked this one at every interview. It's probably the most asked question because it sets the stage for the interview and it gets you talking. Be careful not to give the interviewer your life story here. You don't need to explain everything from birth to present day. Relevant facts about education, your career and your current life situation are fine.2. Why are you looking (or why did you leave you last job)?
This should be a straightforward question to answer, but it can trip you up. Presumably you are looking for a new job (or any job) because you want to advance your career and get a position that allows you to grow as a person and an employee. It's not a good idea to mention money here, it can make you sound mercenary. And if you are in the unfortunate situation of having been downsized, stay positive and be as brief as possible about it. If you were fired, you'll need a good explanation. But once again, stay positive.Wednesday, January 22, 2014
Software Testing Basics - Software Testing Interview Questions and Answers
7. What is configuration management?
Configuration
management is the detailed recording and updating of information for
hardware and software components. When we say components we not only
mean source code. It can be tracking of changes for software documents
such as requirement, design, test cases, etc.
When changes are done in adhoc and in an uncontrolled manner chaotic situations can arise and more defects injected. So whenever changes are done it should be done in a controlled fashion and with proper versioning. At any moment of time we should be able to revert back to the old version. The main intention of configuration management is to track our changes if we have issues with the current system. Configuration management is done using baselines.
When changes are done in adhoc and in an uncontrolled manner chaotic situations can arise and more defects injected. So whenever changes are done it should be done in a controlled fashion and with proper versioning. At any moment of time we should be able to revert back to the old version. The main intention of configuration management is to track our changes if we have issues with the current system. Configuration management is done using baselines.
8. How does a coverage tool work?
While
doing testing on the actual product, the code coverage testing tool is
run simultaneously. While the testing is going on, the code coverage
tool monitors the executed statements of the source code. When the final
testing is completed we get a complete report of the pending statements
and also get the coverage percentage.
Software Testing Basics - Software Testing Interview Questions and Answers
1. Can you explain the PDCA cycle and where testing fits in?
Software
testing is an important part of the software development process. In
normal software development there are four important steps, also
referred to, in short, as the PDCA (Plan, Do, Check, Act) cycle.

Let's review the four steps in detail.

Let's review the four steps in detail.
Data Files - C Interview Questions and Answers
1. If errno contains a nonzero number, is there an error?
The global variable errno is used by many standard C library functions to pass back to
your program an error code that denotes specifically which error occurred. However, your
program should not check the value of errno to determine whether an error occurred.
Usually, the standard C library function you are calling returns with a return code which denotes that an error has occurred and that the value of errno has been set to a specific error number. If no error has occurred or if you are using a library function that does not reference errno, there is a good chance that errno will contain an erroneous value. For performance enhancement, the errno variable is sometimes not cleared by the functions that use it.
You should never rely on the value of errno alone; always check the return code from the function you are calling to see whether errno should be referenced. Refer to your compiler's library documentation for references to functions that utilize the errno global variable and for a list of valid values for errno.
Usually, the standard C library function you are calling returns with a return code which denotes that an error has occurred and that the value of errno has been set to a specific error number. If no error has occurred or if you are using a library function that does not reference errno, there is a good chance that errno will contain an erroneous value. For performance enhancement, the errno variable is sometimes not cleared by the functions that use it.
You should never rely on the value of errno alone; always check the return code from the function you are calling to see whether errno should be referenced. Refer to your compiler's library documentation for references to functions that utilize the errno global variable and for a list of valid values for errno.
2. What is a stream?
A stream is a continuous series of bytes that flow into or out of your program. Input and output from devices
such as the mouse, keyboard, disk, screen, modem, and printer are all handled with streams. In C, all streams
appear as files - not physical disk files necessarily, but rather logical files that refer to an input/output source.
The C language provides five "standard" streams that are always available to your program. These streams
do not have to be opened or closed. These are the five standard streams:The C Language Basics - C Interview Questions and Answers
1. What is a local block?
A local block is any portion of a C program that is enclosed by the left brace ({) and the
right brace (}). A C function contains left and right braces, and therefore anything
between the two braces is contained in a local block. An if statement or a switch
statement can also contain braces, so the portion of code between these two braces would
be considered a local block.
Additionally, you might want to create your own local block without the aid of a C function or keyword construct. This is perfectly legal. Variables can be declared within local blocks, but they must be declared only at the beginning of a local block. Variables declared in this manner are visible only within the local block. Duplicate variable names declared within a local block take precedence over variables with the same name declared outside the local block. Here is an example of a program that uses local blocks:
Additionally, you might want to create your own local block without the aid of a C function or keyword construct. This is perfectly legal. Variables can be declared within local blocks, but they must be declared only at the beginning of a local block. Variables declared in this manner are visible only within the local block. Duplicate variable names declared within a local block take precedence over variables with the same name declared outside the local block. Here is an example of a program that uses local blocks:
Tuesday, January 21, 2014
Senior Management Interview
The Senior Management interview
is a type of interview that is very challenging. A candidate must
have the skills to be able to convince the senior management interviewer
that he is right for the position. He must have the same values with
the company; his personality must fit in the culture of the company he
wants to work for. Senior management interview is totally opposite of
the usual entry-level interviews.
On a senior management interviewer’s aspect, it is a test of time-tested skills. The senior management interviewer must be able to distinguish honesty and hypocrisy. The senior management interviewer must be able to scrutinize every detail about the person that is involved with the position the candidate is applying for.
During a senior management interview, a lot of questions are asked, background of the person, self-assessment, behavioral questions, and competency questions.
A number of books can be found on topics about how to answer the toughest senior management interview questions, what not to say and what to say during senior management interviews. But the capacity to answer questions depends on the candidate’s abilities and experiences and other factors involved during the senior management interview.
Let’s review some questions asked during a senior management interview. First, of course, is to ask, “walk me through your work experiences.” A candidate should be able to discuss his career, his experience with the company and the reason for leaving. A candidate should keep in mind that he must be able to answer it thoroughly and briefly.
The senior management interviewer might ask, “What is effective leadership for you?” This question is trying to get an underlying answer. By asking the person this, the interviewer can have a grasp of idea on what the management style is of the person. Probably because, the tendency is to define it on how the candidate believes it to be. Of course, it is not expected to give a Webster-like definition of the term.
During a senior management interview, it is very possible to be asked “What are the things you consider to determine how effective you are in managing your people?” This time around, it is to check on how you apply your concepts and/or theories on your own. It’s just like asking the strengths of your management style.
More often th
On a senior management interviewer’s aspect, it is a test of time-tested skills. The senior management interviewer must be able to distinguish honesty and hypocrisy. The senior management interviewer must be able to scrutinize every detail about the person that is involved with the position the candidate is applying for.
During a senior management interview, a lot of questions are asked, background of the person, self-assessment, behavioral questions, and competency questions.
A number of books can be found on topics about how to answer the toughest senior management interview questions, what not to say and what to say during senior management interviews. But the capacity to answer questions depends on the candidate’s abilities and experiences and other factors involved during the senior management interview.
Let’s review some questions asked during a senior management interview. First, of course, is to ask, “walk me through your work experiences.” A candidate should be able to discuss his career, his experience with the company and the reason for leaving. A candidate should keep in mind that he must be able to answer it thoroughly and briefly.
The senior management interviewer might ask, “What is effective leadership for you?” This question is trying to get an underlying answer. By asking the person this, the interviewer can have a grasp of idea on what the management style is of the person. Probably because, the tendency is to define it on how the candidate believes it to be. Of course, it is not expected to give a Webster-like definition of the term.
During a senior management interview, it is very possible to be asked “What are the things you consider to determine how effective you are in managing your people?” This time around, it is to check on how you apply your concepts and/or theories on your own. It’s just like asking the strengths of your management style.
More often th
interview questions to ask when hiring a manager
I recently put this together for someone, and I’m recycling it here:
interview questions to ask if you’re hiring a manager of a department,
organization, whatever.
As you’ll see, the idea of most of these to give you a good feel for whether this is someone who gets things done, is a strong manager who’s focused on results, etc. Please add in your own!
General
Send the candidate your annual report or other materials ahead of time. In the interview, ask him/her to explain the organization’s work to you as if you were a prospective funder or investor.
How would the people around you describe you?
Tell me about a difficult decision you had to make recently. Walk me through the problem and what your thought process was, and how you ultimately handled it.
What is some of the most useful criticism you’ve ever received? Why?
As you’ll see, the idea of most of these to give you a good feel for whether this is someone who gets things done, is a strong manager who’s focused on results, etc. Please add in your own!
General
Send the candidate your annual report or other materials ahead of time. In the interview, ask him/her to explain the organization’s work to you as if you were a prospective funder or investor.
How would the people around you describe you?
Tell me about a difficult decision you had to make recently. Walk me through the problem and what your thought process was, and how you ultimately handled it.
What is some of the most useful criticism you’ve ever received? Why?
The Top 50 interview questions and how to handle them
1. “Why do you want to work here?”
To answer this question you must have researched the company. Reply with the company’s attributes as you see them and how your qualities match them.
2. “Tell me about yourself.”
This is not an invitation to ramble on. If the context isn’t clear, you need to know more about the question before giving an answer.
Whichever direction your answer ultimately takes, be sure that it has some relevance to your professional endeavors. You should also refer to one or more of your key personal qualities, such as honesty, integrity, being a team player, or determination.
3. “What is the biggest challenge you have faced in work in the past 12 months?”
This is often an opening question, as it allows you to use one of your strongest examples and may help you relax. For the interviewer, it is also an indication of where your natural focus or achievements may be – people development, process, cost reduction, change etc.
To answer this question you must have researched the company. Reply with the company’s attributes as you see them and how your qualities match them.
2. “Tell me about yourself.”
This is not an invitation to ramble on. If the context isn’t clear, you need to know more about the question before giving an answer.
Whichever direction your answer ultimately takes, be sure that it has some relevance to your professional endeavors. You should also refer to one or more of your key personal qualities, such as honesty, integrity, being a team player, or determination.
3. “What is the biggest challenge you have faced in work in the past 12 months?”
This is often an opening question, as it allows you to use one of your strongest examples and may help you relax. For the interviewer, it is also an indication of where your natural focus or achievements may be – people development, process, cost reduction, change etc.
How to Prepare for an Interview for a Management Position
- 1Do your research about the company you are interviewing with. Look the company up online, and determine what the business mission and vision are. Gather as much information as you can so that you can answer questions that may come up. You may also want to make a list of your own questions about the company. This way the recruiter will know you did your homework. Just don't pick a topic that you cannot have full conversation about, assuming the interviewer leads you in that direction.
-
2Get a full understanding of the management position the company is hiring for. Read the job position, and make sure that you focus on these points during your interview. If the company mentioned specific qualities and qualifications in the description, they are evidently significant. So make sure that you highlight these areas in your own experience and qualifications.
Saturday, January 18, 2014
Interview Preparation
Interview Preparation

My interview guide will teach you how to interview for success utilizing the most powerful job interview preparation strategies.
Best Tips for Acing Your NeInterviewxt Job
How to Answer ANY Question an
Interviewer Could Ever Throw at You.
www.JobInterviewTools.com
Best of all, you can get your hands on my interview guide in less than 5 minutes.JobInterviewTools.com will show you how to prepare for an interview with rock solid job interview preparation advice.
Expert Job Interview Preparation Strategies
No matter how bad you think your interview performance is right now, I guarantee you will quickly learn how to impress interviewers with perfect answers to their questions – every time.
At JobInterviewTools.com, you’ll get:
- Powerful Job Interview Preparation Tips
- Phone Interview Preparation Techniques
- Professional Answers to Interview Questions
Interview Answers
Interview Answers

You’ll quickly learn how to give the best interview answers to impress interviewers.
Best Tips for Acing Your Next Job Interview
How to Answer ANY Question an
Interviewer Could Ever Throw at You.
Phone and Telephone Interview Questions
Phone and Telephone Interview Questions

Usually, they are just too busy and don’t want to waste their time on first interviews.
Best Way to Answer Behavioral and STAR Questions
It takes about 30-40 hours (a whole work week) to interview ten candidates.
The phone interview is also a very efficient screening tool. By asking 10-12 phone interview questions, an interviewer can quickly decide if this person is right for a face-to-face interview.
Phone interviews are also very easy to end. If after 20 minutes the interviewer decides you are not right for the position, she can end it right there.
On this page, you’ll find many phone interview questions and answers that will help you get a face to face interview.
Management Interview Questions
Management Interview Questions

Best Way to Answer Behavioral and STAR Questions
1. How would your co-workers describe you?
Manager interview questions like this are generally asked to discover additional hidden qualities about yourself that you might not otherwise have mentioned.
“My co-workers will tell you that I am a team player and a colleague they can count on to pull his weight whether it’s a normal day or we’re in a crunch.”
2. What is your viewpoint of management?
Management interview questions like this are asked to find out what kind of leader you are. Should you ever get placed in a management role, how will you delegate the workload or teach your co-workers.
“I believe the main goal of any management position is to get things done by evenly distributing the workload to the most qualified members of the team. They also make sure that each member of the team has all the resources and training that are necessary to complete the job.
Best IntervieAnswersw
www.JobInterviewTools.com
If You're Not Using This Simple Method to
ACE Your Interview -- You Might Never Get Hired.
They are loyal and are always working in the best interest of the company. Their job is tough; they must evaluate employee performance, empower members of the team and be able to identify those who are not pulling their own weight.”
Saturday, January 11, 2014
JSP INTERVIEW QUESTIONS (20 interview questions)
1)What is JSP?
Java Server Pages technology (JSP) is used to create dynamic web page.It is an extension to the servlet.A JSP is internally converted into servlet. more details... |
2)What are the life-cycle methods for a jsp?
|
3)What is difference between hide comment and output comment?
The jsp comment is called hide comment whereas html comment is called output comment.If user views the source of the page, the jsp comment will not be shown whereas html comment will be shown. |
4)What are the JSP implicit objects ?
JSP provides 9 implicit objects bydefault.They are as follows: |
Object | Type |
---|---|
1) out | JspWriter |
2) request | HttpServletRequest |
3) response | HttpServletResponse |
4) config | ServletConfig |
5) session | HttpSession |
6) application | ServletContext |
7) pageContext | PageContext |
8) page | Object |
9) exception | Throwable |
5)What is difference between include directive and include action?
1) The include directive includes the content at page translation time. | 1) The include action includes the content at request time. |
2) The include directive includes the original content of the page so page size increases at runtime. | 2) The include action doesn't include the original content rather invokes the include() method of Vendor provided class. |
3) It's better for static pages. | 3) It's better for dynamic pages. |
6)Is JSP technology extensible?
Yes. JSP technology is extensible through the development of custom actions, or tags, which are encapsulated in tag libraries. |
7)How can I implement a thread-safe JSP page? What are the advantages and Disadvantages of using it?
You can make your JSPs thread-safe by having them implement the SingleThreadModel interface. This is done by adding the directive <%@ page isThreadSafe="false" %> within your JSP page. |
8)How do I prevent the output of my JSP or Servlet pages from being cached by the browser?
(OR) How to disable caching on back button of the browser?
<% response.setHeader("Cache-Control","no-store"); response.setHeader("Pragma","no-cache"); response.setHeader ("Expires", "0"); //prevents caching at the proxy server %> |
9)How can we handle the exceptions in JSP ?
There are two ways to perform exception handling, one is by the errorPage element of page directive, and second is by the error-page element of web.xml file. more details... |
10)What are the two ways to include the result of another page. ?
There are two ways to include the result of another page: |
11)How can we forward the request from jsp page to the servlet ?
Yes ofcourse! With the help of forward action tag, but we need to give the url-pattern of the servlet. forward action tag |
12)Can we use the exception implicit object in any jsp page ?
No. The exception implicit object can only be used in the error page which defines it with the isErrorPage attribute of page directive. more details... |
13)How is JSP used in the MVC model?
JSP is usually used for presentation in the MVC pattern (Model View Controller ) i.e. it plays the role of the view. The controller deals with calling the model and the business classes which in turn get the data, this data is then presented to the JSP for rendering on to the client. |
14)What are context initialization parameters?
Context initialization parameters are specified by the in the web.xml file, these are initialization parameter for the whole application and not specific to any servlet or JSP. more details... |
15)What are the different scope values for the ?
They are:
|
16)What is the difference between ServletContext and PageContext?-
ServletContext gives the information about the container whereas PageContext gives the information about the Request. |
17)What is the difference in using request.getRequestDispatcher() and context.getRequestDispatcher()?
request.getRequestDispatcher(path) is used in order to create it we need to give the relative path of the resource whereas context.getRequestDispatcher(path) in order to create it we need to give the absolute path of the resource. |
18)What is EL in JSP?
The Expression Language(EL) is used in JSP to simplify the accessibility of objects. It provides many objects that can be used directly like param, requestScope, sessionScope, applicationScope, request, session etc. |
19)What is basic differences between the JSP custom tags and java beans?
|
170 CORE JAVA INTERVIEW QUESTIONS
1)What is difference between JDK,JRE and JVM?
JVM
JVM is an acronym for Java Virtual Machine, it is an abstract machine which provides the runtime environment in which java bytecode can be executed. |
JVMs are available for many hardware and software platforms (so JVM is plateform dependent). |
JRE
JRE stands for Java Runtime Environment. It is the implementation of JVM and physically exists. |
JDK
JDK is an acronym for Java Development Kit. It physically exists. It contains JRE + development tools. |
Java Basic Interview Questions
- A constructor is a special method whose task is to initialize the object of its class.
- It is special because its name is the same as the class name.
- They do not have return types, not even void and therefore they cannot return values.
- They cannot be inherited, though a derived class can call the base class constructor.
- Constructor is invoked whenever an object of its associated class is created.
32.How does the Java default constructor be provided?
If a class defined by the code does not
have any constructor, compiler will automatically provide one
no-parameter-constructor (default-constructor) for the class in the
byte code. The access modifier (public/private/etc.) of the default
constructor is the same as the class itself.
Friday, January 10, 2014
J2EE Interview Questions and Answers
What is J2EE?
J2EE is an environment for developing and deploying enterprise applications. The J2EE platform consists of a set of services, application programming interfaces (APIs), and protocols that provide the functionality for developing multitier, web-based applications.
What is the J2EE module?
A J2EE module consists of one or more J2EE components for the same container type and one component deployment descriptor of that type.
What are the components of J2EE application?
A J2EE component is a self-contained functional software unit that is assembled into a J2EE application with its related classes and files and communicates with other components. The J2EE specification defines the following J2EE components:
Application clients and applets are client components.
Java Servlet and JavaServer PagesTM (JSPTM) technology components are web components.
Enterprise JavaBeansTM (EJBTM) components (enterprise beans) are business components.
Resource adapter components provided by EIS and tool vendors.
What are the four types of J2EE modules?
1. Application client module
2. Web module
3. Enterprise JavaBeans module
4. Resource adapter module
What does application client module contain?
The application client module contains:
--class files,
--an application client deployment descriptor.
Application client modules are packaged as JAR files with a .jar extension.
What does web module contain?
The web module contains:
--JSP files,
--class files for servlets,
--GIF and HTML files, and
--a Web deployment descriptor.
Web modules are packaged as JAR files with a .war (Web ARchive) extension.
What are the differences between Ear, Jar and War files? Under what circumstances should we use each one?
There are no structural differences between the files; they are all archived using zip-jar compression. However, they are intended for different purposes.
--Jar files (files with a .jar extension) are intended to hold generic libraries of Java classes, resources, auxiliary files, etc.
--War files (files with a .war extension) are intended to contain complete Web applications. In this context, a Web application is defined as a single group of files, classes, resources, .jar files that can be packaged and accessed as one servlet context.
--Ear files (files with a .ear extension) are intended to contain complete enterprise applications. In this context, an enterprise application is defined as a collection of .jar files, resources, classes, and multiple Web applications.
Each type of file (.jar, .war, .ear) is processed uniquely by application servers, servlet containers, EJB containers, etc.
What is the difference between Session bean and Entity bean ?
The Session bean and Entity bean are two main parts of EJB container.
Session Bean
--represents a workflow on behalf of a client
--one-to-one logical mapping to a client.
--created and destroyed by a client
--not permanent objects
--lives its EJB container(generally) does not survive system shut down
--two types: stateless and stateful beans
Entity Bean
--represents persistent data and behavior of this data
--can be shared among multiple clients
--persists across multiple invocations
--findable permanent objects
--outlives its EJB container, survives system shutdown
--two types: container managed persistence(CMP) and bean managed persistence(BMP)
What is "applet" ?
A J2EE component that typically executes in a Web browser but can execute in a variety of other applications or devices that support the applet programming model.
What is "applet container" ?
A container that includes support for the applet programming model.
What is "application assembler" ?
A person who combines J2EE components and modules into deployable application units.
J2EE is an environment for developing and deploying enterprise applications. The J2EE platform consists of a set of services, application programming interfaces (APIs), and protocols that provide the functionality for developing multitier, web-based applications.
What is the J2EE module?
A J2EE module consists of one or more J2EE components for the same container type and one component deployment descriptor of that type.
What are the components of J2EE application?
A J2EE component is a self-contained functional software unit that is assembled into a J2EE application with its related classes and files and communicates with other components. The J2EE specification defines the following J2EE components:
Application clients and applets are client components.
Java Servlet and JavaServer PagesTM (JSPTM) technology components are web components.
Enterprise JavaBeansTM (EJBTM) components (enterprise beans) are business components.
Resource adapter components provided by EIS and tool vendors.
What are the four types of J2EE modules?
1. Application client module
2. Web module
3. Enterprise JavaBeans module
4. Resource adapter module
What does application client module contain?
The application client module contains:
--class files,
--an application client deployment descriptor.
Application client modules are packaged as JAR files with a .jar extension.
What does web module contain?
The web module contains:
--JSP files,
--class files for servlets,
--GIF and HTML files, and
--a Web deployment descriptor.
Web modules are packaged as JAR files with a .war (Web ARchive) extension.
What are the differences between Ear, Jar and War files? Under what circumstances should we use each one?
There are no structural differences between the files; they are all archived using zip-jar compression. However, they are intended for different purposes.
--Jar files (files with a .jar extension) are intended to hold generic libraries of Java classes, resources, auxiliary files, etc.
--War files (files with a .war extension) are intended to contain complete Web applications. In this context, a Web application is defined as a single group of files, classes, resources, .jar files that can be packaged and accessed as one servlet context.
--Ear files (files with a .ear extension) are intended to contain complete enterprise applications. In this context, an enterprise application is defined as a collection of .jar files, resources, classes, and multiple Web applications.
Each type of file (.jar, .war, .ear) is processed uniquely by application servers, servlet containers, EJB containers, etc.
What is the difference between Session bean and Entity bean ?
The Session bean and Entity bean are two main parts of EJB container.
Session Bean
--represents a workflow on behalf of a client
--one-to-one logical mapping to a client.
--created and destroyed by a client
--not permanent objects
--lives its EJB container(generally) does not survive system shut down
--two types: stateless and stateful beans
Entity Bean
--represents persistent data and behavior of this data
--can be shared among multiple clients
--persists across multiple invocations
--findable permanent objects
--outlives its EJB container, survives system shutdown
--two types: container managed persistence(CMP) and bean managed persistence(BMP)
What is "applet" ?
A J2EE component that typically executes in a Web browser but can execute in a variety of other applications or devices that support the applet programming model.
What is "applet container" ?
A container that includes support for the applet programming model.
What is "application assembler" ?
A person who combines J2EE components and modules into deployable application units.
Java Basics - Interview Questions and Answers
1. What is the difference between a constructor and a method?
A
constructor is a member function of a class that is used to create
objects of that class. It has the same name as the class itself, has no
return type, and is invoked using the new operator.
A method is an ordinary member function of a class. It has its own name, a return type (which may be void), and is invoked using the dot operator.
A method is an ordinary member function of a class. It has its own name, a return type (which may be void), and is invoked using the dot operator.
Top 10 HR Interview Questions & How To Answer Them
Tell me about yourself.
Answer: Identify some of your main attributes and memorise them. Describe your qualifications, career history and range of skills, emphasising those skills relevant to the job on offer.
What have your achievements been to date?
A. Select an achievement that is work-related and fairly recent. Identify the skills you used in the achievement and quantify the benefit it had to the company. For example, ‘my greatest achievement has been to design and implement a new sales ledger system, bringing it in ahead of time and improving our debtors’ position significantly, saving the company £50,000 a month in interest’.
Are you happy with your career-to-date?
A: This HR interview question is really about your self-esteem, confidence and career aspirations. The answer must be ‘yes’, followed by a brief explanation as to what it is about your career so far that’s made you happy. If you have hit a career plateau, or you feel you are moving too slowly, then you must qualify your answer.
Constantly talking isn’t necessarily communicating.- Eternal Sunshine of the Spotless Mind (2004) – Joel Barrish (Jim Carrey)
Subscribe to:
Posts (Atom)