Core Java Interview Questions
Questions Answers Views Company eMail

how a programmer confirms that the data submitted has been succesfully inserted into the database(either oracle or my sql).. How a programmer confirm if there is any problem with the program he wrote for insertion

SAP Labs,

2 5142

when a request is generated from apache tomcat 5.5 and goes to oracle 10g or mysql,,, how the oracle or mysql reads the request as apache is a web server and oracle 10g is application server? when the oracle 10g provides response, how the apche tomcat reads it???

SAP Labs,

1670

how we can use debug in myeclipse 6.0 in order solve the problems that exist in our program when there are 900 to 1000 pages in a web application

SAP Labs,

1665

what is the role of xml in core java?? and how we can use it?? can somebody give a sample program with explanation and from where i can read more about xml?????

HCL, SAP Labs, Vital Soft,

1797

In a my eclipse editor if i want to switch from jdk 1.4 to jdk 1.6 how to do that???? Initially i have jdk1.4

Tech Mahindra,

1 4809

for(i=0;i<100;i++) { int i=method();//method returns no's from 1 to 10; /* insert some stmts which can give output like no.of times numbers(1-10) returned. (for example if it returns 2 then i want output how many times 2 returned) like that i want output for no's 1 - 10 how many times each no returned. */ }

3 4428

how come we know the object is no more used in the class?

Accenture,

2 5413

what is the use of StringBuffer?

Accenture,

2 5612

what value will be return by the read() method once it reaches the end-of-file? a. Throws EOException b. Return null c. Return -1 d. Read method return nothing, because it is void method

1 3709

An inner class can actually be a subclass of the outer class? a. true b. false

2 4371

WHAT IS MARKER INTERFACE,AND NO METHODS IS NOT THERE ON THAT INTERFACE THEN WHY WE USED IN JAVA?

L&T,

3 6389

Is it possible to do method overloading and overriding at a time

L&T,

3 7805

why java uses class level type casting ?

2251

how a programmer confirms that the data submitted has been succesfully inserted into the database(either oracle or my sql).. How a programmer confirm if there is any problem with the program he wrote for insertion... ANS:--- >executeupdate method is having boolean return type, if anything goes wrong in data insertion or data updation, it would return false. otherwise, if it successfully inserts data into the database, it would return true NOW HOW TO I CHECK IN MY DURING EXECUTION WHETHER IT RETURNS TRUE OR FALSE... WELL IT WILL DISPLAY ANY MESSAGE OR NOT

Google,

1848

where can we get jAVA project orientation traing in HYDERABD

1515


Post New Core Java Questions

Un-Answered Questions { Core Java }

What about method local inner classes or local inner classes in java?

548


Explain naming conventions for packages?

575


What are the different ways of implementing thread? Which one is more advantageous?

536


What is volatile keyword in java

642


How do you use substring in java?

544






Can we write multiple catch blocks under single try block?

570


What is instance example?

521


Why runnable interface is used in java?

564


What is the base class of all exception classes?

582


How is string stored in java?

556


How do you create a bulleted list?

561


How many characters is 2 bytes?

526


Is static variable stored in heap?

505


What is strings in java?

585


What is function declaration?

524