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 6074

Advantages of Inheritance in java.

CybAge, HCL,

11 38105

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 11798

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 6995

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

CSC,

5 8914

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

1 3889

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 4792

Difference between JVM and JRE?

Amdocs,

3 7186

Diff between Comparator and Comparable?

Aditya Birla,

2 9423

what is the difference between object and class

IBM,

10 12065

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 6257

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

5 8021


Post New Core Java Questions

Un-Answered Questions { Core Java }

What is e java?

1104


Explain the selection sort algorithm and state its time complexity?

1016


Java.util.regex consists of which classes?

997


What do you mean by formatting?

996


What is the purpose of interface?

1007


How many decimal places is a double?

995


How to change the priority of thread or how to set the priority of thread?

1040


Why main method is static in java?

1180


What is an object's lock and which object's have locks in java programming?

1048


What is constructor and virtual function? Can we call a virtual function in a constructor?

1143


Is a copy constructor?

1060


Why java is used everywhere?

1010


Can java list be null?

997


What is a default constructor and also define copy contrucyor?

1111


what is abstract class in Java?

1119