Follow Our FB Page << CircleMedia.in >> 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

1314

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?

Huawei,

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?

Huawei,

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.

Symphony,

1340

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

Huawei,

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,

1709

"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)

ABC,

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.

Oracle,

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?

409


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

338


What is the default size of arraylist in java?

359


What is the difference between overriding and overloading in OOPS.

372


Can a class be declared as protected?

399






What is immutable data?

395


Why java does not support pointers?

396


What does .equals do in java?

365


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

342


List the interfaces which extends collection interface?

385


What is the maximum size of a string in java?

393


What is jit compiler in java?

417


Can we call virtual funciton in a constructor ?

1620


why java does not support unsigned keyword?

3961


Does google use java?

356