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
Explain about the performance aspects of core java?
Implement a stack with push (), pop() and min() in O(1) time.
How do you convert boolean to boolean?
What is files manifesting?
What super () does in java?
Explain about fail safe iterators in java?
I want to persist data of objects for later use. What is the best approach to do so?
How does the garbage collector works in java?
What is the difference between quicksort & mergesort? When should they be used? What is their running time?
What's the default access specifier for variables and methods of a class?
What is the formula to calculate percentage?
What is a generic type?
How many decimal places is a double?
What is tree node in java?
Can a final variable be initialized in constructor?