any other way to print the text without using
System.out.println() in java?
Answer Posted / chitu
system.err prints the error, return statements with overrididing the toString method can print the statments
void toString()
{
return cn print this ;
}
| Is This Answer Correct ? | 9 Yes | 10 No |
Post New Answer View All Answers
explain the concept of virtual method invocation in polymorphism in detail?
What is the map interface in java programming?
Explain differences between checked and unchecked exceptions in java?
Can you declare a private method as static?
In a container there are 5 components. I want to display all the component names, how will you do that?
what is enumset?
What is deserialization?
What are the restrictions imposed by a Security Manager on Applets?.
Difference between predicate, supplier and consumer ?
What is stack explain?
How finally used under exception handling?
What is the difference between jfc & wfc?
What is procedure overloading?
Is string thread safe in java?
Does java support multiple inheritance or not?