Latest Questions for Java Interview Questions
  • please help me in coding this given program

    consider the below series: 1,2,1,3,2,5,3,7,5,11,8,13,13,17,..... this series is a mixture of 2 series-all the odd terms in this series from a fibonacci series and all the even terms are the prime numbers in ascending order write a program to find

    Posted on: August 16, 2018 at 12:06 PM
  • java program

    my array size is 10, then how can i identify class A object from array. Q) how jvm know a particular object is serialize or not

    Posted on: November 14, 2016 at 11:07 AM
  • java program

    Q)Suppose in your java coding part you did not handle the exceptions clearly. Now you got exception but you do not know in which method that exception arises? How you solve this issue? How you prevent this in the next time?

    Posted on: November 14, 2016 at 10:49 AM
  • java program

    i have array that is object[] obj= { new string("hi"), new vector().add(10), new hashmap().setkey()} display(obj); display(object[] obj) {} Now my question is what is the string length and how to retrieve element from vecto

    Posted on: November 14, 2016 at 10:09 AM
  • Why we need reload application after class change?

    Why we need reload application after class change

    Posted on: February 3, 2016 at 4:57 AM
  • vi command mode without esc

    Hi, What is the alternative key combination to esc in vi command? In other words how to go to the vi command mode without esc? Thanks

    Posted on: December 15, 2015 at 8:03 AM
  • If elements are added at same bucket location in HashMap then what will be the size of HashMap?

    I am trying to print the size of HashMap which contains key value pair at same bucket location. Following is the code. Please confirm the answer . import java.util.HashMap; import java.util.Map; public class HashcodeWork {

    Posted on: December 2, 2015 at 8:15 AM
  • Unmarshalling Jaxb

    How to unmarshal very large xml to java objects usin jaxb/sax parser?

    Posted on: April 28, 2015 at 7:43 AM
  • searching the string in a paragraph?

    how to search a string in a paragraph and display the corresponding line number and position of a string in java?

    Posted on: March 3, 2015 at 8:53 AM
  • PLease reply its urgent

    Write a java function that has the signature ΓΆβ?¬Ε?Public static int clock Inter sections(int hours, int minutes)ΓΆβ?¬Β? That takes a number of hours and minutes (up to several days), and returns the number of times the minute and hour hands of a

    Posted on: January 21, 2015 at 5:53 AM
  • Interview question.

    Program to read the integers from the standard input (until it gets a negative number) and puts them in to an array.after that it calls process Array on the array,and then prints the content of the array on the standard output. Curruntly ,processA

    Posted on: December 19, 2014 at 6:14 AM
  • callable interface

    When we use the callable interface instated of runable interface?

    Posted on: December 5, 2014 at 7:11 AM
  • Operations on string

    Apply undo,redo operations on String pool in java

    Posted on: December 2, 2014 at 8:04 AM
  • java

    write a program that reads an integer n from the comand line and calculates n! starting from 1 up to n (n factorial). n!=n(n-1)(n-2)*1, e.g 5!=5.4.3.2.1=120.your program should be able to accept more than one n values before exiting.make

    Posted on: October 14, 2014 at 7:03 AM
  • java

    write a program that reads an integer n from the comand line and calculates n! starting from 1 up to n (n factorial). n!=n(n-1)(n-2)*1, e.g 5!=5.4.3.2.1=120.your program should be able to accept more than one n values before exiting.make

    Posted on: October 14, 2014 at 7:03 AM
  • java

    write a program that reads an integer n from the comand line and calculates n! starting from 1 up to n (n factorial). n!=n(n-1)(n-2)*1, e.g 5!=5.4.3.2.1=120.your program should be able to accept more than one n values before exiting.make

    Posted on: October 14, 2014 at 7:03 AM
  • java q?

    how to get the average and rank of 1 million student records using threads

    Posted on: October 5, 2014 at 8:57 AM
  • java question

    what is the difference between path and classpath in java

    Posted on: September 27, 2014 at 3:28 PM
  • question

    public class TestSingletone { private static TestSingletone t=null; private TestSingletone() { } public static TestSingletone getTestSingletone() { if(

    Posted on: September 16, 2014 at 2:08 AM
  • java linked list urgent !!!

    Q1. Generate 10 thousand random integers with values in the range between 1 to 100. Q2. Store each randomly generated number into a node and then attach the node to a linked list. The list must be in descending order at all times - when no

    Posted on: August 4, 2014 at 11:35 PM

View all discussion for Java Interview Questions