Follow Our FB Page << >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

Core Java Interview Questions
Questions Answers Views Company eMail

Can we have a abstract class withought any method? What is a purspose of this?

3 4092

Howto get an object that will perform date & time calculations then format it for output in some different locales with different date style.can ne1 tel me the answer of this question.pls


What is the difference between throw and throws?

Cap Gemini,

5 10598

I have an HashMap object, which has with key and value pair. It has 10 keys and values in that object. Now the question is I want insert new key and value in middle or any where in that list but not at the end or at the top. Is it possible or not. If yes how can we achieve this one?


2 5938

How can we handle runtime exceptions? write one sample program? Can we write runtime exceptions beside the throws key word? if yes write sample program?


1 6455

We are seeing so many videos/audios as many web sited. But question is these videos or audios are stored in Databases ( Oracle, Mysql, Sybase,... ) or stored any file directory from there they will give the link for that? Pls explain and give sample code to achieve this one? Thanks, Seenu.



JSP is by default thread safe or not? what is the meaning of isThreadSafe="true" and isThreadSafe="false". Explain it? Thanks, Seenu


9 27966

Write program to print Hello World and print each character address in that string and print how many times each character is in that string? Ex: H: 0 & 1 e:1 & 1 l :2,3,8 & 3 o:4,6 & 2 w:5 & 1 r: 7 & 1 d 9 & 1

Huawei, IBM,

7 10505

how to know the total memory occupied by the objects in the ArrayList(Array list may contain duplicate objects)

Infosys, TCS,


"We cannot create an object of interface but we can create a variable of it". Discuss the statement with the help of an example. (Plz help us to provide immediately.)

3 9366

Create a form of user Login in JSP, that accepts the user name and password from user and authenticate it with user names and passwords stored in database. (Plz provide me answer immediately)


1 10447

what is diffrence between .NET and java?

2 3883

Read data from console and print in one file. That would be in C:\temp ? Thanks, Bose

Oracle, Surya Software,

3 6246

I have one POJO class(Java bean class), it has two variables for that it has setters and getters. Now i have created two objects for that class and i have set the data for those variables through this two objects. Now question is i want check whether those two objects have same data or not, for this write a program? Thanks, Bose.


2 14987

what is real-time example of runtime polymorphism and compile time polymorphism

SLK Group,

4 40671

Post New Core Java Questions

Un-Answered Questions { Core Java }

What invokes a thread's run() method in java programming?


If a method is declared as protected, where may the method be accessed in java programming?


What is the default size of arraylist in java?


What is the difference between overriding and overloading in OOPS.


Can a class be declared as protected?


What is immutable data?


Why java does not support pointers?


What does .equals do in java?


What's the difference between int and integer in java?


List the interfaces which extends collection interface?


What is the maximum size of a string in java?


What is jit compiler in java?


Can we call virtual funciton in a constructor ?


why java does not support unsigned keyword?


Does google use java?