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 Related Interview Questions
Questions Answers Views Company eMail

difference between sql exception class and sql warning class

1 6298

How to handle when the database crashes while reading the data from the database?

IBM,

2 6871

can v create a constructor 4 servlet?

Satyam,

7 14309

which pattern is default in scanner package?

Satyam,

2253

what is d difference between deep cloning and shallow cloning in core java?

Satyam,

3 17604

what is the use of private constructor in core java?

OnMobile, Satyam, Yash Technologies,

3 19668

what is the use of datasource in core java?

Satyam,

3 10129

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

1 6888

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 5383

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

2784

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

HCL,

2 6348

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 7667

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

CTS,

5 11157

Difference String and String Buffer

4 7460

What is object

6 9302


Un-Answered Questions { Java Related }

How do you define a variable?

969


What are java front end tools?

924


Is j2ee a language or framework?

933


Which compiler is used in java?

942


Do you think that java should have had pointers?

1091


What is the file extension used for hibernate mapping file?

436


What is the first argument of the string array in main method?

980


What is beanfactoryaware in spring?

463


Who gave the name java?

877


What is difference between merge and update in hibernate?

454


What is entitymanagerfactory?

431


Is alive method in java?

999


Difference between association, composition and aggregation?

1011


What are the three parts of a jdbc url?

1045


When do you call copy constructor?

998