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
Difference between process and thread?
What is difference between static class and normal class?
What about member inner classes?
Where is the find and replace?
Describe the syntax of multiple inheritance? When do we use such an inheritance?
Is a method a procedure?
What are the object and class classes used for?
Can we declare a constructor as final?
Does garbage collection occur in permanent generation space in jvm?
What does %4d mean in java?
What is the final variable?
What is the base class of all classes?
What is the java idl system?
What are the differences between string, stringbuffer and stringbuilder?
What is the difference between the Reader/Writer class hierarchy and the InputStream/OutputStream class hierarchy?