any other way to print the text without using
System.out.println() in java?
Answer Posted / hemanth
Yes of course. U can print text without using s.o.p by using static initialization block in Java
| Is This Answer Correct ? | 5 Yes | 12 No |
Post New Answer View All Answers
Can a class extends itself in java?
What is an error in java?
What is static method with example?
Can you tell me range of byte?
When is finally block not called?
what is thread? What are the high-level thread states? : Java thread
What will happen if there is a default method conflict as mentioned above and we have specified the same signature method in the base class instead of overriding in the existing class ?
How do you start a thread?
What is functional interface in javatpoint?
Is class forname reflection?
What do you mean by default constructor in java?
What are access specifiers available in java?
What is a parameter in java?
What are latest features introduced with java 8?
How do generics work in java?