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

Why sleep()is in Thread and wait() in Object class? Why can't I have both in one class or vice versa?

1 6023

This is related to threads. I have a class with synchronized method m1(). Can I create different instances of this class and execute the m1() for different threads?

3 6069

Advantages of Inheritance in java.

CybAge, HCL,

11 38100

what is the output??????? public class multireturn { public(int assign x ( int x) { if(4==x) { return 7; } else if (7=x+3) { return 6; } return 5; } }

TCS,

3 5881

how a marker interface gets its functionality and when we implements a marker interface how it got invoked

Mind Tree,

3 11795

how to handle a singleton service locator. when multiple threads are trying to get the singleton object in same time

Mind Tree,

4 11082

What code optimizations techniques you follow in general practice?

Accenture, TCS, Wipro,

2 6994

System.out.println("somestring"); It will create any object or not

CSC,

5 8911

________ exception must be either caught or specified in throws class of the method.

1 3887

Every class extends object but why it is not possible for every object to invoke clone() method. ideally protected methods should be accessible from sub classes. isn't it?

2 4790

Difference between JVM and JRE?

Amdocs,

3 7185

Diff between Comparator and Comparable?

Aditya Birla,

2 9423

what is the difference between object and class

IBM,

10 12060

There are 2 different ways to create an object. a)By using keyword "new" b)By using Class.forName ("className").newInstance(); What is the difference between these 2 methods.

3 6256

Is it possible to create object with out its default constructor? if possible how? else not possible? justify

5 8016


Post New Core Java Questions

Un-Answered Questions { Core Java }

What is garbage collector?

1082


How do you avoid global variables?

1088


What is the purpose of assert keyword used in jdk1.4.x?

1067


Why is stringbuffer not immutable?

1079


What is final?

1076


When does an object becomes eligible for garbage collection in java?

1063


What is meant by binding in rmi?

1011


Is 0 true or is 1 true?

963


What is a package in java? List down various advantages of packages.

1279


What is the tradeoff between using an unordered array versus an ordered array?

1239


When do we need to use internal iteration? When do we need to use external iteration?

1125


What is included in core java?

1058


How will you call an Applet using Java Script Function?

1030


What is static class

1116


What is map and hashmap in java?

1064