Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...




Java J2EE Interview Questions
Questions Answers Views Company eMail

what is the use of datasource in core java?

Satyam,

3 10304

What is a parser. What does a parser do with a XML? Why do we need it?

1 7000

dear friends I have made connection with SQLSERVER where the following code is compiling properly but giving error at the runtime . I think error in this line where i am sending the value through string Connection connection = DriverManager.getConnection ( "jdbc:microsoft:sqlserver://localhost:1433","sa",""); import java.sql.*; //import mssqlserver.*; public class TestSQLCON { public TestSQLCON() throws Exception { // Get connection DriverManager.registerDriver(new com.microsoft.jdbc.sqlserver.SQLServerDriver()); System.out.println(); System.out.println("Successfully connected one"); System.out.println(); Connection connection = DriverManager.getConnection ( "jdbc:microsoft:sqlserver://localhost:1433","sa",""); if (connection != null) { System.out.println(); System.out.println("Successfully connected"); System.out.println(); // Meta data DatabaseMetaData meta = connection.getMetaData(); System.out.println("\nDriver Information"); System.out.println("Driver Name: " + meta.getDriverName()); System.out.println("Driver Version: " + meta.getDriverVersion()); System.out.println("\nDatabase Information "); System.out.println("Database Name: " + meta.getDatabaseProductName()); System.out.println("Database Version: "+ meta.getDatabaseProductVersion()); } } public static void main (String args[]) throws Exception { TestSQLCON test = new TestSQLCON(); } } so please help me

2 5488

please give url to get orinal software for I-net crystal clear java report tools?

2860

when we applied start()method on a thread ,how does it know that to execute run()method on that object?

HCL,

2 6474

public class AboutStrings{ public static void main(String args[]){ String s1="hello"; String s2="hel"; String s3="lo"; String s4=s2+s3; //to know the hash codes of s1,s4. System.out.println(s1.hashCode()); System.out.println(s4.hashCode()); // these two s1 and s4 are having same hashcodes. if(s1==s4){ System.out.println("s1 and s4 are same."); }else System.out.println("s1 and s4 are not same."); } } Somebody told me that, == operator compares references of the objects. In the above example even though s1 and s4 are refering to same object(having same hash codes), it is printing s1 and s4 are not same. Can anybody explain in detail why it is behaving like this? Thanks in Advance RavuriVinod

TCS,

4 7820

if two references are having same hash codes,is that means those are refering to same object?

CTS,

5 11324

Difference String and String Buffer

4 7662

What is object

6 9570

How to make class immutable

6 10372

How to decrease number of hashings in has

1 3954

i have 1000 records in resultset, how to get first 100 records from resultset, because resultset fetch all 1000 records at a time?

HSBC,

8 21744

Is there any limitation for no of statments executed with in batchupdate?

HSBC, IBM,

2 6432

Is it safe for adding 10,00,000 records/objects to HashMap?, i.e is it safe to add millions of objects to HashMap?

2 6132

What is the difference between pageContext and page implicit objects in jsp?

Gspann Technologies, Merrill Lynch, Polaris,

9 39356


Un-Answered Questions { Java J2EE }

What is the difference between filters and interceptors ?

1301


Write a program to print count of empty strings in java 8?

1080


Write a java program to find the route that connects between Red and Green Cells. General Rules for traversal 1. You can traverse from one cell to another vertically, horizontally or diagonally. 2. You cannot traverse through Black cells. 3. There should be only one Red and Green cell and at least one of each should be present. Otherwise the array is invalid. 4. You cannot revisit a cell that you have already traversed. 5. The maze need not be in the same as given in the above example

2659


What is lazy class?

481


what are the different modes of archival? Explain each mode in two lines each?

994


What is action chaining ?

1160


Explain public static void main(string args[]) in java.

1064


What do you mean by an interface in java?

1095


What are the differences between heap and stack memory in java?

1128


Find Best Job Vacancies across the world on Jooble!

136


How can you inject java collection in spring?

504


What is an object in java and how is it created?

1128


What is difference between @controller and @restcontroller in spring?

537


hi actully i hav form columns with origin and destination names .as like as i need to create one more column with name amount. my requirement is when i select origin and destination columns automatically i need to get amount from database.how can i. please tel me with relative code

2865


How to sort array in descending order in java?

987