1) Tell me a scenario where you helped the client to achieve better solution to the problem than originally suggested by the designer?
2) How will you handle “Out of Memory” error in a Java application?
3) If someone comes to you saying that they have a PHP application which is taking too long to fetch data from the database. What suggestion will you provide?
4) If you are given the role of team lead in a project with 2 developers having 3 years of experience and 3 freshers/campus recruits. How will you assign task and get project activities completed from them?
5) Just tick the tools/technologies/frameworks that you are aware of from the following list:
i) VAADIN ii) Lucene iii)SOLR iv) Scala v)xText vi)Maven vii)Hudson viii)GWT ix)Jquery x)Velocity xi)Spring Roo xii)JAXB xiii)Axis xiv)RESTful xv)Checkstyle xvi)JProfiler xvii)EHCache xviii)JPA xix)Datasource xx)HATEOAS xxi)HSQL xxii)NOSQL
6) Can you create a sketch of Use Case, Class, Sequence, UML diagrams for an Airline Reservation system?
7) Explain a situation where you have used multi-threading in a module of your application?
8 ) Explain the Java Collection framework class heirarchy and the purpose of creatinf interfaces and abstract classes?
9) What all check points will you like to see when prepairing guidelines for code review?
10) How do you compare using EJB vs Stored Procedure for writing business logic?
11) How do you like to write JUnit tests. After coding has been done or before starting coding. (TDD))?
Hope you like these questions and do discuss it here.
Java Interview Questions
Thursday, August 11, 2011
Thursday, June 16, 2011
Interview
opsssssss today again avoided deliberately logica interview..
my dead line is aug2011
common man its u r life...
god please give me the confidence to face it all
my dead line is aug2011
common man its u r life...
god please give me the confidence to face it all
Wednesday, June 15, 2011
java | Thread
Java Thread
Constructors in thread
Constructors in thread
- Thread();
- Thread(Runnable target);
- Thread(Runnable target, String name);
- Thread(String name)
- No, only the method can be Synchonized.
- Each object has only one lock
That That Boy That That Money
"that that boy that that money" is a very famous dialog in ma college days.
why this dialog??
it means each one have to spend their money for his expenditure.. mostly in college time guys wont get enough money to spend..so its a golden rule people have to spend their pocket money for there own.
mostly this rule wont applicable in bars... hahaha
why this dialog??
it means each one have to spend their money for his expenditure.. mostly in college time guys wont get enough money to spend..so its a golden rule people have to spend their pocket money for there own.
mostly this rule wont applicable in bars... hahaha
java interview questions
1. why java?
-: java is a fun and challenging language.
-: Object Oriented
-: Better Portability
-: Multi-Threading
-: Memory Management(Garbage Collection)
-: supports Web Based, Standalone, Distributed Application
-: superb API and
-: Open Source.
2. static vs. dynamic class loading?
Static Class Loading
-: Class are statically loaded with java's "new" operator
ex :
class car {
public static void main(String args[]) {
Car c = new Car();
}
}
Exception
NoClassDefFoundException
Dynamic Loading
- : its a technique for programmatic invoke the function of a class loader at run time.
Ex:
Class.forName("Class Name");// static method will return the class
class.newInstance();// Non Static method will create a new instance(object) of class
Exception
ClassNotFoundException
-: java is a fun and challenging language.
-: Object Oriented
-: Better Portability
-: Multi-Threading
-: Memory Management(Garbage Collection)
-: supports Web Based, Standalone, Distributed Application
-: superb API and
-: Open Source.
2. static vs. dynamic class loading?
Static Class Loading
-: Class are statically loaded with java's "new" operator
class car {
public static void main(String args[]) {
Car c = new Car();
}
}
Exception
NoClassDefFoundException
Dynamic Loading
- : its a technique for programmatic invoke the function of a class loader at run time.
Class.forName("Class Name");// static method will return the class
class.newInstance();// Non Static method will create a new instance(object) of class
Exception
ClassNotFoundException
Subscribe to:
Posts (Atom)