Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Core Java Interview Questions
Questions Answers Views Company eMail

Can we instantiate Interfaces?

Ericsson,

7 15798

What do you mean by the term transient?

Ericsson,

5 11625

What are the two ways you can synchronize a block of code?

Ericsson,

5 14287

Package1 and Package2 both have a method name lets say "methodA" with different implementation. When I import both the packages in a java class how can I use both the methods?

Ericsson,

7 11477

How can you sort dates?

TCS,

2 9420

Why to give the file name same as the public class name in java?

3 7278

Is there any use of an abstract class which has no methods and no attributes?

Wipro,

1 4978

If your team member writes code with lots of static variables and static methods, will it cause any side effects?

KPIT,

3 7613

If I have 1000 objects and my requirement is to sort them quickly, then which collection would you recommend and why?

KPIT,

5 9060

I have a Person object with 5 variables and I want to store them in a file called Person.txt. What should I do?

KPIT,

3 6977

There is a Banking application. It has 2 types of account, Savings and Current. Write a method calculateInterest by passing an ArrayList of these account objects and calculate Interest accordingly. Write code for this situation

ABC, KPIT,

1 3616

If two threads call a static method at the same point of time, what will happen?

KPIT,

3 8958

There are 2 methods in a class. Both have the same method signature except for return types. Is this overloading or overriding or what is it?

KPIT,

9 14024

There are 2 classes, 1 LandAnimal and another WaterAnimal. There is another class Animal which wants to have the properties of both LandAnimal and WaterAnimal. How will you design this situation?

KPIT,

6 10959

I have a String s = java; What is the output when I say s.replaceAll('j', 'k'); Also what is the value of s after replacing?

KPIT,

8 11989


Post New Core Java Questions

Un-Answered Questions { Core Java }

What is the difference between synchronized and synchronized block?

1110


What are predefined functions?

1207


What is treeset and treemap in java?

1142


What is a prefix function.write down a code to compute prefix function.

1114


How to stop a thread in java? Explain about sleep () method in a thread?

1074


Explain the selection sort algorithm?

1120


What is class array in java?

1128


What is a singleton class in Java?

1151


Why arraylist is used in java?

1122


What is close method? How it's different from Finalize & Dispose?

1131


What is comparator in java?

1071


What is method overloading with type promotion?

1345


What does string intern() method do?

1135


What does += mean coding?

999


Can a java program have 2 main methods?

1105