Core Java Interview Questions
Questions Answers Views Company eMail

What is the difference between Array and Hash Table?

Impetus,

519

What are heap memory and stack memory and what are memory tables.

Aspiring Minds,

485

What are the concepts of 'OOPS'?

Atos Origin,

575

What is nested loop? What is dangling else condition in it?

Ericsson,

552

What will happen when using pass by reference in java?

HCL,

497

What is a concrete classes? Is Java object class is concrete class?

Infosys,

485

Given a singly linked list, find the middle of the list in a single traversal without using temporary variable.

Fidelity,

590

What is Gang of four design patterns

Infosys,

564

Can a constructor be private and how are this() and super() method used with constructor?

Flextronics, Hexaware,

503

What is a default constructor and also define copy contrucyor?

Global Logic,

571

Why use string handling in Java?

HCL,

557

Explain heap sort?

Flextronics,

680

What are recursive functions? Give some examples?

Axtria, ITC Indian Tobacco Company,

594

How do you access command-line arguments within the code?

Flextronics, Hexaware,

555

What is the difference between static and global variables and also define what are volatile variables?

Flextronics, Hexaware,

529


Post New Core Java Questions

Un-Answered Questions { Core Java }

What happens if an exception is throws from an object's constructor?

605


How do you stop a thread in java?

563


How does split work in java?

512


What is string builder in java?

540


What do you mean by flow of struts?

722






Why arraylist is used in java?

526


For class CFoo { }; what default methods will the compiler generate for you>?

589


can any body body expalin best definitions & best real time exaples for opps concepts.

1813


What is the base class of all classes?

544


Explain about interthread communication and how it takes place in java?

520


Is list ordered in java?

519


Which command from the jdk compiles a java program?

462


How do you convert an int to a string in java?

515


What modifiers may be used with a top-level class?

551


Can java cast null?

578