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
what is an objects lock and which objects have locks? : Java thread
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
What is the length of a string?
How is garbage collection controlled?
How are this() and super() used with constructors in java programming?
What happens to the Exception object after handling an exception?
What is a java lambda expression?
What is finalize()?
How do you ensure that n threads can access n resources without deadlock?
What is reverse function?
What is slash r?
Is string is a data type?
What is a line separator in java?
What kind of variables a class can consist of?
What does yield method of the thread class do?