Java Code Interview Questions
Questions Answers Views Company eMail

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

Cognizant,

5 18234

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

Google, Zoho,

14 25801

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

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

4 30919

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 .........

1947

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

1 4695

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

TCS,

3 6613

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 30744

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

IBM,

1 7899

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

FCS, HCL, Maximus,

8 12548

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

3 6343

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{

1791

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 11567

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...

2574

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

Infosys,

5 25870

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

2088


Un-Answered Questions { Java Code }

write a program in java to find the moving average of all prime numbers between 2 and 100.

3560


Do you think about CMM(Capability Maturity Model) process?

571


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

4442


A game that has five levels of play has the score for each level stored in an array. You are to write a program that goes through that array and finds: a) the minimum score, and the level at which it occurred b) the maximum score, and the level at which it occurred c)the average score for all five levels The score data you must use for this program are as follows: Game Level Score 1 450 2 316 3 148 Stack implementations is mandatory.

2096


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

2320






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?

2113


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???

2488


plz send code for feature rich resume builder in j2ee frontend:J2EE Backend: DB2 Express

3157


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{

1791


what is runtime class?

2213


what are the other loops except for for,while,do while and until?

2263


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

3414


How to get one hasmap value in another hashmap ,only value not key

908


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

1826


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

2583