Java J2EE Interview Questions
Questions Answers Views Company eMail

What is Request Dispatcher?

1 790

What are the advantages of Servlet over CGI?

662

Is it good idea to create servlet constructor?

732

What is difference between PrintWriter and ServletOutputStream?

766

How to convert string to byte array and vice versa?

576

What is string subsequence method?

621

How can we make sure main() is the last thread to finish in java program?

660

how to split string in java?

645

What does string intern() method do?

581

Difference between string, stringbuffer and stringbuilder?

562

What is volatile keyword in java

638

Explain differences between collection api and stream api?

605

What are the three parts of a lambda expression? What is the type of lambda expression?

561

Does string is thread-safe in java?

584

What is java thread dump, how can we get java thread dump of a program?

561


Un-Answered Questions { Java J2EE }

Can we sort array in java?

521


What is meant by main method?

575


What is jdbc api?

529


What is scanner in java?

529


How to run a JAR file through command prompt?

708






What is jvm? How its run?

649


What are inner beans in spring?

141


What is evict in hibernate?

171


Why pointers are not used in java?

570


What is servlet instance?

538


Whether we can get deadlock situation in servlets?

572


What is setattribute in servlet?

550


How do you compare values in java?

533


What are class types in java?

569


How to get the IP address of client in servlet?

621