| By Yakov Fain | Article Rating: |
|
| June 17, 2007 06:00 AM EDT | Reads: |
796,356 |
For senior-level developers:
A. Stacks works by last-in-first-out rule (LIFO), while queues use the FIFO rule
A. Sometimes. But your class may be a descendent of another class and in this case the interface is your only option.
A. Garbage collection.
A. Object cloning.
A. hashCode()
ArrayList or LinkedList?
A. ArrayList
A. Have this class implement Cloneable interface and call its method clone().
A. Use object pooling and weak object references.
A. If these classes are threads I'd consider notify() or notifyAll(). For regular classes you can use the Observer interface.
A. You do not need to specify any access level, and Java will use a default package access level.
Published June 17, 2007 Reads 796,356
Copyright © 2007 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
- Are You Using Abstract Classes, Polymorphism, and Interfaces?
- Your First Java Program
- Intro to Object-Oriented Programming with Java
- Methods, Constructors, Overloading and Access Levels
- Java Exceptions
- Java Streams Basics
- Reading Data from the Internet
- Java Serialization - Lesson 7
- Java Serialization
- Teaching Kids Programming: Even Younger Kids Can Learn Java
- Taking a Sun Java Studio Creator for a Drive
- Java Basics: Introduction to Java Threads, Part 1
- Interviewing Enterprise Java Developers
- Java Gotchas: Instance Variables Hiding
- Java 5.0 - The "Tiger" Is Out of Its Cage
- Grids, Blades, and Java - Wall Street's Top Technologies
- Java Basics: Introduction to Java Threads, Part 2
- i-Technology Opinion: Outsourcing...to Students
- SYS-CON Webcast: Eclipse IDE for Students, Useful Eclipse Tips & Tricks
- Our JUGs Need a Push-Up
- Java Basics: Lesson 11, Java Packages and Imports (Live Video Education)
- Another Brick in the Wall
About Yakov Fain
Yakov Fain is a Managing Director of Farata Systems, consulting, training and product company. He has authored several Java books, dozens of technical articles. SYS-CON Books released his latest co-authored book , Rich Internet Applications with Adobe Flex and Java: Secrets of the Masters in Spring 2007. Sun Microsystems has nominated and awarded Yakov with the title Java Champion. He leads the Princeton Java Users Group. He is an Adobe Certified Flex Instructor. Currently Yakov works on the book for O'Reilly "Enterprise Application Development with Flex". He twits at twitter.com/yfain.
![]() |
Raghu 07/09/08 10:38:32 AM EDT | |||
A message to all,interview questions given here can be generic ONLY.Its not like for 2+ years,4+ years etc.It purely depends on the company and the role for which you are interviewed.Some of the interview questions i faced recently.I was able to clear all the theoretically related so they asked me by giving a scenario. 1. You need to read all the details from say.. www.yahoo.com/index.html, save it in a file in yor local PC. What API will you use in Java and what method?? If you need further information,drop a mail 2 graghuu@gmail.com Cheers, |
||||
![]() |
aruna 06/20/08 02:40:58 AM EDT | |||
Hi, Thanks you, |
||||
![]() |
Ashvini 06/16/08 12:23:12 AM EDT | |||
Hi, Thanks you, |
||||
![]() |
. 06/13/08 04:29:20 PM EDT | |||
these questions are stupid these are moronic questions that idiots that don't know how to interview asks lets get to some real world questions |
||||
![]() |
deepa 06/11/08 07:48:12 AM EDT | |||
Please send me expert level questions on jdbc 4.0 |
||||
![]() |
sandeep 06/06/08 04:55:35 AM EDT | |||
try http://www.java-interview.com for all the java related interview questions |
||||
![]() |
shikha 05/30/08 04:05:33 AM EDT | |||
please send me the interview questions in java,jsp,jdbc,corejava for 1+ yers of experience as a software engineer. |
||||
![]() |
sreekanth 05/28/08 04:29:58 PM EDT | |||
Thank you very much for such a good article.....as I'm in search of job this article would certainly be helpful for my preparation. |
||||
![]() |
sandeep 04/20/08 04:13:09 AM EDT | |||
please send me the interview questions in java,jsp,jdbc,corejava for 1+ yers of experience as a software engineer. |
||||
![]() |
siddharth 04/18/08 07:54:20 AM EDT | |||
I have 1+ yrs experience of working in java.. please help me by sending the interview questions.. |
||||
![]() |
varun 04/05/08 06:38:16 AM EDT | |||
Data Migration/Conversion: It can be used to convert sql server tables into mysql tables |
||||
![]() |
rajyalakshmi.M 03/26/08 12:53:10 AM EDT | |||
I need the type of questions asked in an interview for a job in java/j2ee foe 2+ years experience Thanks |
||||
![]() |
Ranjani 03/12/08 09:39:19 AM EDT | |||
I need the type of questions asked in an interview for a job in java/j2ee with about 2 years experience. Thanks |
||||
![]() |
archana 03/07/08 04:51:00 AM EST | |||
Hi, |
||||
![]() |
sony 02/01/08 09:37:29 PM EST | |||
I have acquired abt 4-5yrs of Java/J2EE exp and will be attending an interview in the States...Could you pls let me know on what are the tips that I need and pls help me with some questions that they will ask me? |
||||
![]() |
srinivas 01/20/08 07:28:34 AM EST | |||
plz send j2ee interview questions with 2+ exp |
||||
![]() |
Mitesh 01/12/08 12:40:28 AM EST | |||
I need to Prepare for Internship as Java Programmer |
||||
![]() |
VANI SARIN (Recruiter at GE Healthcare) 01/03/08 05:03:29 PM EST | |||
GE Healthcare is hiring Sr. J2EE Developer and Web Client Developers with Ajax and or googleweb toolkit. Please visit www.gecareers.com and enter job #s 756156 and 756161 |
||||
![]() |
vani 01/03/08 12:58:02 PM EST | |||
can u plz send me 2+yrs core,jsp,servlet,jddbc questions |
||||
![]() |
nirupama reddy 11/14/07 02:05:53 AM EST | |||
hi,plz send me 1+ yrs core,adv,servlets,jsps questions |
||||
![]() |
Y.V.Rajesh 11/07/07 01:31:27 AM EST | |||
what is the need of constructors and what is the difference between class variables and instance variables? |
||||
![]() |
sankari 11/02/07 04:56:36 AM EDT | |||
hi,plz send me the 2+yrs exp questions in java/j2ee |
||||
![]() |
praveeb 10/16/07 11:15:51 AM EDT | |||
Hi,send me the 2+years interview questions please |
||||
![]() |
prashant 09/19/07 08:19:58 AM EDT | |||
Hi, |
||||
![]() |
Rahul 09/05/07 08:09:02 AM EDT | |||
Hi, Regards, |
||||
![]() |
Rhea 08/14/07 01:07:54 PM EDT | |||
Hi, I have acquired abt 4-5yrs of Java/J2EE exp and will be attending an interview in the States...Could you pls let me know on what are the tips that I need and pls help me with some questions that they will ask me? |
||||
![]() |
gayatri 08/14/07 03:30:11 AM EDT | |||
Hi, |
||||
![]() |
Soumitra 08/01/07 10:32:55 AM EDT | |||
need some middle-level/expert-level core Java/EJB/JSP/Servlets Questions and answers |
||||
![]() |
Srinivasarao Pentakota 07/28/07 07:40:00 AM EDT | |||
Hi, |
||||
![]() |
surya 07/20/07 08:06:29 AM EDT | |||
some of the answers are wrong given by the other person so plz. beware of this.Go for RND and make it sure whether the answer is right or wrong |
||||
![]() |
Svaba 07/20/07 06:09:40 AM EDT | |||
Questions are exilent. I wrote a technical test few days ago and I had few qestions from this list. |
||||
![]() |
Infernoz 07/13/07 04:31:45 PM EDT | |||
Q2 Answer has confused grammar, so maybe part wrong. Q3 Answer is only half right. Q17 Answer is correct, for runtime Atul Gupta! Q19 Answer .. and (from recent Sun advice) for the creation of active Swing and AWT objects like JFrame, JWindow, Frame, Window etc. |
||||
![]() |
Dave the Free Credit Report Guy 07/12/07 08:54:50 AM EDT | |||
Oh yes, it would be totally helpful to master these important Java basics before getting out there for those job interviews...Good job! |
||||
![]() |
Atul Gupta 07/12/07 03:29:45 AM EDT | |||
Hi, The answer to Question 17 is wrong, it wont give in any compilation errors. |
||||
![]() |
Durga Prasad 07/04/07 02:39:07 AM EDT | |||
Hi, |
||||
![]() |
Rajalakshmi K 06/25/07 12:51:56 AM EDT | |||
I need some middle-level/expert-level core Java/EJB/JSP/Servlets Questions and answers |
||||
![]() |
Govindaraj.S. 06/18/07 11:08:27 PM EDT | |||
Hai, |
||||
![]() |
Govindaraj.S. 06/18/07 11:06:11 PM EDT | |||
Please send me java and j2ee question papers for 1.5+ years of experience |
||||
![]() |
N.V.Balasubramaniam 05/24/07 04:14:18 AM EDT | |||
Hi, Thanks in Advance for your Help. |
||||
![]() |
Amit 02/22/07 02:22:48 AM EST | |||
Hi, |
||||
![]() |
Anand 12/27/06 01:13:11 PM EST | |||
All the interview questions are answered here, I just love this site |
||||
![]() |
akumaran 11/02/06 02:15:07 AM EST | |||
Very good questions and answers. Also would be nice to add a "How would you go about..." section. Sometimes the candidate does not have to know the exact answer (e.g. performance, memory profiling etc) but should know how to go about solving a given problem or a task. Some other useful Q&A covering wide range of topics relating to Java/J2EE can be found at http://www.lulu.com/java-success and also google for "Java Job interview questions" or "J2EE Job interview questions" |
||||
![]() |
himanshu 09/19/06 05:35:55 AM EDT | |||
Hi, |
||||
![]() |
sachin 09/17/06 02:36:59 AM EDT | |||
Hi, |
||||
![]() |
madhavi 09/16/06 01:37:04 AM EDT | |||
Hi, |
||||
![]() |
prajjal nag 09/15/06 03:19:48 AM EDT | |||
Please send some interview question for Core Java for 2+ yrs experience, preferably java 1.4 and java 1.5 |
||||
![]() |
ABDULLAHI ABUBAKAR 09/14/06 08:30:00 AM EDT | |||
I want you to send me the questions because i will start to study, Certified Enterprise Developer and Solution Architect on Sun Java Platform in this year. |
||||
![]() |
Peter 09/14/06 05:59:12 AM EDT | |||
Hi, I need some interview questions for a Java/J2EE Developer role, it's a phone interview taking place within the next 2 hours. any immediate help will be deeply appreciated. |
||||
![]() |
surya 09/09/06 12:01:25 PM EDT | |||
Hi, |
||||
![]() |
imran 09/07/06 09:56:10 AM EDT | |||
asdgsda |
||||
- Performance of Java Compilers: An Empirical Study
- Java Kicks Ruby on Rails in the Butt
- Ulitzer’s Amazing First 30 Days in Public Beta
- 1st Annual Government IT Expo: Call for Papers Deadline July 15
- REA Is Where RIA Becomes the Norm
- Why an Application Grid?
- Will Ulitzer Dominate News Content on The Web? -Gartner
- Clear Toolkit 4: The Road Map
- Profiling Netbeans within Amazon EC2
- Java Persistence on the Grid: Approaches to Integration
- Performance of Java Compilers: An Empirical Study
- Java Kicks Ruby on Rails in the Butt
- Developing Rich Client Applications Using Swing - II
- The Right Time for Real Time Java
- Xpress Suite Adds Automatic Java to iPhone Conversion
- Ulitzer’s Amazing First 30 Days in Public Beta
- Initial Thoughts on IBM Acquisition of Sun Microsystems
- 1st Annual Government IT Expo: Call for Papers Deadline July 15
- Maximizing Java Performance with Bespoke Programming
- Pet Store with JavaFX 1.0.- Part I
- A Cup of AJAX? Nay, Just Regular Java Please
- Java Developer's Journal Exclusive: 2006 "JDJ Editors' Choice" Awards
- The i-Technology Right Stuff
- JavaServer Faces (JSF) vs Struts
- Rich Internet Applications with Adobe Flex 2 and Java
- Java vs C++ "Shootout" Revisited
- Bean-Managed Persistence Using a Proxy List
- Reporting Made Easy with JasperReports and Hibernate
- What's New in Eclipse?
- Creating a Pet Store Application with JavaServer Faces, Spring, and Hibernate








































