Java J2EE Interview Questions
Questions Answers Views Company eMail

Why do we need hashmap in java?

554

How does queue work in java?

528

Why constructor has no return type?

636

Why for each loop is used?

500

What are the loops in java?

520

How to use arraylist in java netbeans?

506

Why collection is called framework in java?

538

How to print an arraylist in java?

492

Why vector is used in java?

554

Why set do not allow duplicates in java?

575

Is vector synchronized in java?

547

Can set contain duplicates?

542

Can we create our own daemon thread?

538

Why stringbuilder is not thread safe in java?

566

Is string is a keyword in java?

545


Un-Answered Questions { Java J2EE }

What are the string methods in java?

580


What is the purpose of spring framework?

150


What is finalize()? Is finalize() similar to a destructor?

540


Explain the use of shift operator in java. Can you give some examples?

537


What is the purpose of the finalize() method?

704






spring configuration file

154


Can we override constructors in java?

678


What is difference between add() and addelement() in vector?

1058


What is @springbootapplication?

144


What is commit?

638


Is tomcat a servlet container?

573


Is special character in java?

607


What is ServletContext object?

641


Explain the use of sublass in a java program?

596


Give us a program to check for parenthesis matching using stack.

554