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 5122

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,

1664

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,

1659

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,

1794

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 4788

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 4415

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

Accenture,

2 5393

what is the use of StringBuffer?

Accenture,

2 5595

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 3701

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

2 4355

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

L&T,

3 6365

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

L&T,

3 7770

why java uses class level type casting ?

2242

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,

1836

where can we get jAVA project orientation traing in HYDERABD

1504


Post New Core Java Questions

Un-Answered Questions { Core Java }

What is a instance variable?

574


Explain about automatic type conversion in java?

556


Why do we use return statement?

533


What is the use of System class?

598


Differences between traditional programming language and object oriented programming language?

563






Why do we use predicate in java?

547


what is thread? What are the high-level thread states? Or what are the states associated in the thread? : Java thread

484


What are the advantages of inner classes?

496


How objects of a class are created if no constructor is defined in the class?

570


What does split function do in java?

528


Why a dead thread occurs?

566


What is meant by vector class, dictionary class, hash table class, and property class?

671


Is main a function?

506


What is a constructor, constructor overloading in java?

520


How listener identify that the event came from a particular object?

1459