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
What is an immutable class?
Can an integer be null java?
What are the differences between abstract class and interface?
How is a structure different from array ?
Can we override the private methods?
What is fail first in java?
Give us the name of the list layoutmanagers in java?
what is a working thread? : Java thread
What is the function of compareto in java?
How do you add an arraylist to an array in java?
Can size_t be negative?
What is anti pattern in cyber security?
What are the data types supported by java?
Is java map thread safe?
How can u increase the heap size in the memory?