Java Q & A Blog

September 14, 2009

Find a file ( Java \ JSP \ Other) in Solaris \ Unix containing a word phrase

Filed under: 3+ year, UNIX — deveshsnb @ 10:10 am

find . -exec grep -l ‘Your word’ {} \;

February 26, 2009

How to load a property file from classpath?

Filed under: Practical, Sr. Developer — Tags: — deveshsnb @ 7:39 am

August 24, 2008

Why the use on interfaces instead of abstract classes, is encouraged in java programming?

Filed under: Architect, Sr. Developer — deveshsnb @ 7:41 pm

July 7, 2008

why wait and notify methods are in Object class not in thread?

Filed under: 3+ year — Tags: — deveshsnb @ 1:29 pm

The relation between hashcode() and equals()

Filed under: 3+ year, Architect, Sr. Developer — Tags: — deveshsnb @ 1:06 pm

March 24, 2008

Undestanding Class.forName in JDBC code

Filed under: 3+ year, 5+ year, Developer, Sr. Developer — Tags: — deveshsnb @ 5:05 pm

Q1 . Why Class.forName is used to load the driver ?
Q2 . What is difference between Class.forName & DriverManager.registerDriver?
Q3 . How DriverManager works ?

(more…)

March 3, 2008

All about Cloneable interface & clone() method

Filed under: Developer — Tags: — deveshsnb @ 2:16 pm

Related Questions…
What is need of Cloneable Interface if Object class has clone() method?
Why we not use method Object.clone for cloning?
what is deep cloning?
How to clone a object if a object has reference of other object?
(more…)

February 27, 2008

How to convert java.util.Date , java.sql.Date , java.sql.Time , java.sql.Timestamp

Filed under: Developer — Tags: — deveshsnb @ 6:45 pm

Diffeence between ServicetoWorker & DispatcherView

Filed under: 5+ year, Architect, Sr. Developer — Tags: — deveshsnb @ 6:05 am

February 25, 2008

why interface in java ?

Filed under: 3+ year, Architect, Sr. Developer — Tags: — deveshsnb @ 1:28 pm

Blog at WordPress.com.