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 5939

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 5927

Advantages of Inheritance in java.

CybAge, HCL,

11 37662

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 5749

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

Mind Tree,

3 11656

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

Mind Tree,

4 10903

What code optimizations techniques you follow in general practice?

Accenture, TCS, Wipro,

2 6895

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

CSC,

5 8715

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

1 3817

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 4682

Difference between JVM and JRE?

Amdocs,

3 7044

Diff between Comparator and Comparable?

Aditya Birla,

2 9331

what is the difference between object and class

IBM,

10 11763

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 6139

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

5 7791


Post New Core Java Questions

Un-Answered Questions { Core Java }

Convert a BST into a DLL and DLL to BST in place.

1073


What is set and get methods in java?

938


What is a superclass?

1293


What is the difference between method and means?

1032


How do you detect memory leaks?

1019


What is the purpose of checked and unchecked exceptions in JAVA?

965


How to add menushortcut to menu item?

968


Why multiple inheritance is not supported by java?

939


What is native method in java?

1032


Do we need to manually write Copy Constructor?

992


What are synchronized methods ?

1060


How do you add spaces in java?

961


What is meant by inheritance and what are its advantages?

1053


Which of the following classes will have more memory allocated?

983


What do you mean by boolean?

1028