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...

explain System.out.println

Answer Posted / indranil singha

class Indranil{
void prin(){
System.out.println("Indra");
}

}
class Indra{
static Indranil ob=new Abc();
}
class Test{
public static void main(String args[]){
Indra.ob.prin();
}
}

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is an objects lock and which objects have locks? : Java thread

945


can java object be locked down for exclusive use by a given thread? Or what happens when a thread cannot acquire a lock on an object? : Java thread

931


What is the length of a string?

958


How is garbage collection controlled?

1115


How are this() and super() used with constructors in java programming?

1015


What happens to the Exception object after handling an exception?

2323


What is a java lambda expression?

982


What is finalize()?

1112


How do you ensure that n threads can access n resources without deadlock?

1257


What is reverse function?

1056


What is slash r?

948


Is string is a data type?

904


What is a line separator in java?

924


What kind of variables a class can consist of?

1040


What does yield method of the thread class do?

973