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...
** 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.
Reader Feedback: Page 1 of 12
#176
Raghu commented on 9 Jul 2008
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.
please send me the interview questions in java,jsp,jdbc,corejava for 1+ yers of experience as a software engineer.
thanks you,
#169
sreekanth commented on 28 May 2008
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.
#168
sandeep commented on 20 Apr 2008
please send me the interview questions in java,jsp,jdbc,corejava for 1+ yers of experience as a software engineer.
thanks you,
sandeep
#167
siddharth commented on 18 Apr 2008
I have 1+ yrs experience of working in java.. please help me by sending the interview questions..
#166
varun commented on 5 Apr 2008
Data Migration/Conversion: It can be used to convert sql server tables into mysql tables
#165
rajyalakshmi.M commented on 26 Mar 2008
I need the type of questions asked in an interview for a job in java/j2ee foe 2+ years experience
Thanks
#164
Ranjani commented on 12 Mar 2008
I need the type of questions asked in an interview for a job in java/j2ee with about 2 years experience.
Thanks
#163
archana commented on 7 Mar 2008
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.
#162
sony commented on 1 Feb 2008
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?
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
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?
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
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...