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
Can we declare a class as static?
What does java edition mean?
What is the difference between the final method and abstract method?
Define jit compiler?
Are the imports checked for validity at compile time? Will the code containing an import such as java.lang.abcd compile?
What are the restrictions that are applied to the java static methods?
Explain what is Marker interface?
What is hashmap and map?
Explain about oops concepts.
Can you pass by reference in java?
Explain abstract class in java?
Where are register variables stored?
Define nashorn in java8.
What are the 4 versions of java?
What is method overloading and method overriding?