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 files manifesting?
How many bytes is double?
What is the difference between yield() and sleep()?
What are the files generated after using IDL to java compiler?
What are the four pillars of java?
How many types of the indexof method are there for strings?
Is final static java?
What is the size of int?
Why constructor has no return type?
Can a singleton class be inherited?
Describe the term diamond problem.
What is method in java with example?
What is an anonymous class in java?
What do you mean by access modifier?
String and stringbuffer both represent string objects. Can we compare string and stringbuffer in java?