Core Java Interview Questions
Questions Answers Views Company eMail

What is the common usage of serialization? What exceptions occur during serialization?

588

Which way a developer should use for creating thread, i.e. Sub classing thread or implementing runnable.

510

What are the different ways of creating thread?

557

What will happen if non-synchronized method calls a static synchronized method and what kind of lock it acquires?

503

What is the use of volatile in java?

586

Mention the default values of all the elements of an array defined as an instance variable.

506

What are the steps in the jdbc connection?

560

Why singleton pattern is better than creating singleton class with static instance?

523

Write a code to create a trigger to call a stored procedure

525

What is the difference between preparedstatement and statement in java?

539

What is the difference between synchronized and synchronized block?

493

What is the use of join method?

562

What do you understand by weak reference?

543

what is the purpose of the runtime class?

543

When should you use arraylist and when should you use linkedlist?

482


Post New Core Java Questions

Un-Answered Questions { Core Java }

What is byte data type?

535


What is a variable in java?

518


FOR EXAMPLE WE R HAVING TWO LIST ELEMENTS ..BOTH LISTS CONTAINS ID,NAME,PLACE ..I NEED TO COMPARE BOTH IDS IN TWO LISTS,IF ID'S R SAME MEANS WE HAVE ADD THE DETAILS(LIKE NAME,PLACE) TO MAP...HOW IS POSSIBLE ?CAN ANY ONE SUGGEST?

2616


What is jit compiler ?

561


What is <> used for in java?

656






What environment variables are required to be set on a machine in order to run Java programs?

602


How to check if a list is sorted in java?

574


Define an applet in java?

619


How do you replace all in word?

512


How we create object in copy constructor?

630


what is the messsage u r going to get from an objectoriented programing?

1592


What is JDBC Driver interface?How can you retrieve data from the ResultSet

1496


What are the types of inner classes (non-static nested class) used in java?

548


What is dot operator?

561


How do you check if an arraylist is not empty?

563