Comments
litl_phil wrote: While it's nice that Google and Acer share the vision of cloud-based computing, it's also worth noting that we at litl already have a webbook on the market (available at litl.com) that runs our own cloud-based OS. Unlike Chrome, litlOS is focused on creating a new and better web experience for the home, so we don't have the usual browser interface, we have our own innovative UI. In conjunction with easel mode (litl's inverted-V position) and our growing cohort of litl channels (special apps t...
Cloud Expo on Google News


2008 West
DIAMOND SPONSOR:
Data Direct
SOA, WOA and Cloud Computing: The New Frontier for Data Services
PLATINUM SPONSORS:
Red Hat
The Opening of Virtualization
GOLD SPONSORS:
Appsense
User Environment Management – The Third Layer of the Desktop
Cordys
Cloud Computing for Business Agility
EMC
CMIS: A Multi-Vendor Proposal for a Service-Based Content Management Interoperability Standard
Freedom OSS
Practical SOA” Max Yankelevich
Intel
Architecting an Enterprise Service Router (ESR) – A Cost-Effective Way to Scale SOA Across the Enterprise
Sensedia
Return on Assests: Bringing Visibility to your SOA Strategy
Symantec
Managing Hybrid Endpoint Environments
VMWare
Game-Changing Technology for Enterprise Clouds and Applications
Click For 2008 West
Event Webcasts

2008 West
PLATINUM SPONSORS:
Appcelerator
Get ‘Rich’ Quick: Rapid Prototyping for RIA with ZERO Server Code
Keynote Systems
Designing for and Managing Performance in the New Frontier of Rich Internet Applications
GOLD SPONSORS:
ICEsoft
How Can AJAX Improve Homeland Security?
Isomorphic
Beyond Widgets: What a RIA Platform Should Offer
Oracle
REAs: Rich Enterprise Applications
Click For 2008 Event Webcasts
SYS-CON.TV
Top Links You Must Click On


Secrets Of The Masters: Core Java Job Interview Questions
JDJ Enterprise Editor Yakov Fain Offers 30 Core Java Questions You Might Expect During Job Interviews

 

For senior-level developers:

** Q21. What's the difference between a queue and a stack?

A. Stacks works by last-in-first-out rule (LIFO), while queues use the FIFO rule
** Q22. You can create an abstract class that contains only abstract methods. On the other hand, you can create an interface that declares the same methods. So can you use abstract classes instead of interfaces?

A. Sometimes. But your class may be a descendent of another class and in this case the interface is your only option.
** Q23. What comes to mind when you hear about a young generation in Java?

A. Garbage collection.
** Q24. What comes to mind when someone mentions a shallow copy in Java?

A. Object cloning.
** Q25. If you're overriding the method equals() of an object, which other method you might also consider?

A. hashCode()
** Q26. You are planning to do an indexed search in a list of objects. Which of the two Java collections should you use:
ArrayList or LinkedList?

A. ArrayList
** Q27. How would you make a copy of an entire Java object with its state?

A. Have this class implement Cloneable interface and call its method clone().
** Q28. How can you minimize the need of garbage collection and make the memory use more effective?

A. Use object pooling and weak object references.
** Q29. There are two classes: A and B. The class B need to inform a class A when some important event has happened. What Java technique would you use to implement it?

A. If these classes are threads I'd consider notify() or notifyAll(). For regular classes you can use the Observer interface.
** Q30. What access level do you need to specify in the class declaration to ensure that only classes from the same directory can access it?

A. You do not need to specify any access level, and Java will use a default package access level.

The J2EE questions are coming soon. Stay tuned for Yakov Fain on Live SYS-CON.TV. Ask your questions to Yakov on the air!
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.

In order to post a comment you need to be registered and logged in.

Register | Sign-in

Reader Feedback: Page 1 of 12

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??
2. You are saving a set of employee names and their salaries in a HashMap like that.. How will you sort them in descending order based on the salary?
This can be done by implementing the comparator interface.

If you need further information,drop a mail 2 graghuu@gmail.com

Cheers,
Raghu

Hi,
Could you please send me the interview questions in java,jsp,struts,jdbc,corejava for 1+ yers of experience as software engineer.

Thanks you,

Hi,
Could you please send me the interview questions in java,jsp,struts,jdbc,corejava for 2+ yers of experience as software engineer.

Thanks you,
Ashvini. S

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

Please send me expert level questions on jdbc 4.0

try http://www.java-interview.com for all the java related interview questions

please send me the interview questions in java,jsp,jdbc,corejava for 1+ yers of experience as a software engineer.
thanks you,

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.

please send me the interview questions in java,jsp,jdbc,corejava for 1+ yers of experience as a software engineer.
thanks you,
sandeep

I have 1+ yrs experience of working in java.. please help me by sending the interview questions..

Data Migration/Conversion: It can be used to convert sql server tables into mysql tables

I need the type of questions asked in an interview for a job in java/j2ee foe 2+ years experience

Thanks

I need the type of questions asked in an interview for a job in java/j2ee with about 2 years experience.

Thanks

Hi,
Could you please send me the interview questions in java,jsp,struts,jdbc,corejava for 2+ yers of experience as software engineer.
Thanks you,
Archana.

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?


Feedback Pages:


Your Feedback
Raghu wrote: 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?? 2. You are saving a set of employee names and their salaries in a HashMap like that.. How will you sort them in descending order based on the salary? This can be done by implementing the comparator interface. If you need further information,drop a mail 2 graghuu@gmail.com Cheers, Raghu
aruna wrote: Hi, Could you please send me the interview questions in java,jsp,struts,jdbc,corejava for 1+ yers of experience as software engineer. Thanks you,
Ashvini wrote: Hi, Could you please send me the interview questions in java,jsp,struts,jdbc,corejava for 2+ yers of experience as software engineer. Thanks you, Ashvini. S
. wrote: 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 wrote: Please send me expert level questions on jdbc 4.0
sandeep wrote: try http://www.java-interview.com for all the java related interview questions
shikha wrote: please send me the interview questions in java,jsp,jdbc,corejava for 1+ yers of experience as a software engineer. thanks you,
sreekanth wrote: 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 wrote: please send me the interview questions in java,jsp,jdbc,corejava for 1+ yers of experience as a software engineer. thanks you, sandeep
siddharth wrote: I have 1+ yrs experience of working in java.. please help me by sending the interview questions..
varun wrote: Data Migration/Conversion: It can be used to convert sql server tables into mysql tables
rajyalakshmi.M wrote: I need the type of questions asked in an interview for a job in java/j2ee foe 2+ years experience Thanks
Ranjani wrote: I need the type of questions asked in an interview for a job in java/j2ee with about 2 years experience. Thanks
archana wrote: Hi, Could you please send me the interview questions in java,jsp,struts,jdbc,corejava for 2+ yers of experience as software engineer. Thanks you, Archana.
sony wrote: 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 wrote: plz send j2ee interview questions with 2+ exp
Mitesh wrote: I need to Prepare for Internship as Java Programmer
VANI SARIN (Recruiter at GE Healthcare) wrote: 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 wrote: can u plz send me 2+yrs core,jsp,servlet,jddbc questions
nirupama reddy wrote: hi,plz send me 1+ yrs core,adv,servlets,jsps questions
Enterprise Open Source Magazine Latest Stories . . .
Oracle seems to have divided the open source ranks over the MySQL delay it’s having closing its acquisition of Sun. Eben Moglin, the GPL’s most ardent defender and delineator, the lawyer who has worked hand in glove for years with the Free Software Foundation’s founder Richard Stallman...
Cloud computing is a game changer. The cloud is disrupting traditional software and hardware business models by disrupting how IT service gets delivered. Entrepreneurial opportunities abound as this classic disruptive technology begins to proliferate, so it is no surprise that SYS-CON'...
The irony is that Oracle has advanced MySQL, lost money in the process, and helped its competitors - all at the same time. When Oracle buys Sun and controls MySQL the gift (other than to Microsoft SQL Server) keeps on giving as the existential threat to RDBs is managed by Redwood Shore...
WSO2, the open source SOA company, today announced the launch of the WSO2 Cloud Platform. Available today, the new WSO2 Cloud Platform features a family of WSO2 Cloud Virtual Machines; WSO2 Cloud Connectors for enabling fast, secure cloud services; and the multi-tenant WSO2 Governance-...
Now, the open source Mozilla Thunderbird client software can be used with Open-Xchange collaboration software. The "Community OXtender for Thunderbird" software connector gives users full access to appointments and contacts stored in the Open-Xchange Server and enables them to use Thun...
Morph Labs, a leading provider of enterprise cloud computing technology, today announced an introductory trial of the Morph CloudServer, an open, standards-based server IT organizations can use to rapidly model and evaluate their cloud implementations. A miniature "Cloud Environment in...
Subscribe to the World's Most Powerful Newsletters
Subscribe to Our Rss Feeds & Get Your SYS-CON News Live!
Click to Add our RSS Feeds to the Service of Your Choice:
Google Reader or Homepage Add to My Yahoo! Subscribe with Bloglines Subscribe in NewsGator Online
myFeedster Add to My AOL Subscribe in Rojo Add 'Hugg' to Newsburst from CNET News.com Kinja Digest View Additional SYS-CON Feeds
Publish Your Article! Please send it to editorial(at)sys-con.com!

Advertise on this site! Contact advertising(at)sys-con.com! 201 802-3021


SYS-CON Featured Whitepapers
ADS BY GOOGLE