Java Code Interview Questions
Questions Answers Views Company eMail

How to read MS-word document in java without displaying junk (unnecessary) data?

Cognizant,

5 13715

how to print a message to console without using main() function?(do not use even static blocks also.)

Google, Zoho,

11 10947

How to create and run runnable jar file of a Java Project.

TCS, Wipro, US Consulate, HCL, Tech Mahindra,

4 25992

i am trying to intigrate ejb and hibernate ,from session facade i am callind dao implemented through hibernate,i am getting a ClassDefNotFoundException for this org/hibernate/Session i ve set the class path at build path and in setEnv in weblogic still .........

999

how to display after one month adding today's sysdatedate in jsp?

1 2923

how to display date after one month using from today date in jsp

TCS,

3 3764

How to convert string containing decimal point into integer in java? For example given a string like "3.14" as input how to get integer 3 as result.

7 24529

inner join,outerjoin,trigger,stored procedure explain with code snippets?

IBM,

1 5811

how to store and retrive a set of values without using an array

FCS, HCL, Maximus,

8 7030

Can you forward data from a servlet to a regular .java class that is not a servlet?

3 3464

I am trying to pass the string firstName from a Servlet called SampleServet. I am running this on eclipse and it tells me that "the value for annotation attribute must be a constant expression. I don't understand why it is giving me this error. @PersonAnnotation(name = SampleServlet.firstName) public class AnnotationClass{

901

How can we get the details for printing the employee details at run time using JDBC connectivity? can u provide the coding for that? Its urgent?

2 8256

How to run the Result Intemation System project in java for collage student in which result of internal exam marks send on parents mobile using SMS? what software required to run this project? please reply immediately...

1426

how to create a (*)pyramid using java codes???

Infosys,

5 20189

Where can i find some sample applications for different J2EE frameworks like Spring,Struts ,JSF, Hibernate etc ??

1115



Un-Answered Questions { Java Code }

For printing a message we use System.out.println in normal programs. We use String msg="text....."; Can't we use String msg=" " in normal programs and System.out.println("........") in applets. Please answer this question?

945


Bubble Sort. java thereafter the user will be asked to inpout the size of the list,sort the list in ascending order and display the sorted list in a horizontal manner???

1335


I am trying to pass the string firstName from a Servlet called SampleServet. I am running this on eclipse and it tells me that "the value for annotation attribute must be a constant expression. I don't understand why it is giving me this error. @PersonAnnotation(name = SampleServlet.firstName) public class AnnotationClass{

901


Can we run Applet in Web browser with security policy files

1106


what is runtime class?

985


Write Down Steps Using SAX Parser

1184


an on-line examination application using html jsp servlet and jdbc. including session management and cookies

2976


How to run the Result Intemation System project in java for collage student in which result of internal exam marks send on parents mobile using SMS? what software required to run this project? please reply immediately...

1426


Is there any static classes are in java give some examples

671


hai, i want to know how the connectionpool manager work in the java or netbeans.Anybody having the exact code plz give to me i have no idea about that so help me plz

1589


How to create Date method to set the date in Ms Access

795


Can we change the validator-rules.xml for our own validations in struts??

1265


write a program to input a natural number less than and display it in words.test your program on the sample data and some random data sample input= 29 sample output= Twenty nine sample input=17001 sample output= out of range sample input=119 sample output =one hundred and nineteen sample input=500 sample output=five hundred

1887


What is Generic" J2ME architecture?

806


i am trying to intigrate ejb and hibernate ,from session facade i am callind dao implemented through hibernate,i am getting a ClassDefNotFoundException for this org/hibernate/Session i ve set the class path at build path and in setEnv in weblogic still .........

999