TrainBeaser for iPhone
The moose likes Jobs Discussion and the fly likes What Kind Of Exceptions You have Faced In Your Project? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Careers » Jobs Discussion
Reply Bookmark "What Kind Of Exceptions You have Faced In Your Project?" Watch "What Kind Of Exceptions You have Faced In Your Project?" New topic
Author

What Kind Of Exceptions You have Faced In Your Project?

saleem basha
Greenhorn

Joined: May 03, 2011
Posts: 4

Hello Everybody......
I am attending java exp interviews eventhough i am fresher.In that interviews most of the persons are asking WHAT KIND OF EXCEPTION YOU HAVE FACED IN YOUR PROJECT....SO,Please Tell Me How To Answer This Question Perfectly..(Please Share Your Experiences In This Kind Of Situation In Your Projects Especially in Web-based Projects)

Thanks in Advance........


sk.saleem
Hyderabad
India
Rob Spoor
Saloon Keeper

Joined: Oct 27, 2005
Posts: 18370

The best answer is a truthful one. If you make stuff up you will get caught sooner or later and your prospects of landing that specific job become none at all.


SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
Nitin Surana
Ranch Hand

Joined: Jan 21, 2011
Posts: 129

Being Ironic
There is no shortcut, even if you make it up, you eventually have to face the consequences.
Hebert Coelho
Ranch Hand

Joined: Jul 14, 2010
Posts: 718

If you are new to Java you could say NullPointerException. I believe its the most common.


[uaiHebert.com] [Full WebApplication JSF EJB JPA JAAS with source code to download] One Table Per SubClass [Web/JSF]
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 8457

Or tell them that you have programmed everything in such a way that you never had to come across any exception.


SCJP 1.4, SCWCD 1.4 - Hints for you, SCBCD Hints - Demnachst, SCDJWS - Auch Demnachst
Did a rm -R / to find out that I lost my entire Linux installation!
Jimmy Clark
Ranch Hand

Joined: Apr 16, 2008
Posts: 2159
First you should be on the same page as the interviewer and know what specifically he/she is talking out, e.g. project, exception, etc. Are they are talking about Java program "exceptions" during development or something other type of exception related to a project?

There is no "perfect" answer. The answer depends on your experience. If you have experience coding and have never had to deal with a Java Exception in code, then your answer should convey this. If you have never worked on a project, then you answer should be very easy, "You never had to deal with an exception, you have not worked on any project."

For experienced interviewers, it is very easy to tell when an individual is lying or making up things in their responses to queries. If you keep encountering questions about exceptions, then you should study them in detail. You can always state that you have never had to deal with them in programming, but understand what they are and the various ways to deal with them.
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 23645

Joe Harry wrote:Or tell them that you have programmed everything in such a way that you never had to come across any exception.

"I haven't worked on any projects" is more believable. And even then you can tell them about exceptions encountered in learning Java, practicing on your own, etc. I find it hard to believe that anyone programming Java has *never* faced a Java exception.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta
John Jai
Rancher

Joined: May 31, 2011
Posts: 1372
Just say you are a fresher and avoid that question
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 14610


IMO, this question is probably not the actual question. It is likely just a way to start the conversation to something that the candidate has faced. A generic open ended question to get the candidate going to something that he/she should know, and then to be followed up by actual questions.

This means (and again, it is just opinion) that making up stuff is not a good idea, as it will be follow up with detail questions about what the candidate did during the project. It also means that the "I don't get exceptions" or "I am a fresher and have no project" response is not good here either.

Henry


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
Jesper de Jong
Java Cowboy
Bartender

Joined: Aug 16, 2005
Posts: 11642

If you're applying for a job as a Java programmer then you most likely know how to program in Java, so you must have written some program, where you've most likely have had to handle exceptions (because in almost any Java program that does more than print "Hello World!" you'll have to deal with exceptions).

Talk about your own experience, no matter how small. Even if you're a fresher you must have written some Java code, even if it wasn't in a project setting.

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
 
 
subject: What Kind Of Exceptions You have Faced In Your Project?
 
Threads others viewed
JSP Interview Question
Struts Interview Questions
Looking for a change
need project partner
Servlets interview questions . . .
developer file tools