## Java interview questions and answers Set 2

11.What is method overloading? Method overloading is process in which coder can define two or more methods with same name but different arguments .for example 1 . getInput( int a) { } 2. getInput(...

11.What is method overloading? Method overloading is process in which coder can define two or more methods with same name but different arguments .for example 1 . getInput( int a) { } 2. getInput(...

Heap Sort: Heap sort is a comparison based sorting technique based on Binary Heap data structure. It is similar to selection sort where we first find the maximum element and place the maximum element...

Insertion Sort: Insertion sort is somewhat similar to selection but in insertion sort, one element is selected from the unsorted array and placed at a proper location in a sorted array. Worst case performance:...

Quicksort: In quick sort one element is selected as a pivot from array.Using pivot array is divided into two parts elements less than pivot and greater than pivot. procedure is done until array get...