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


Please Help Members By Posting Answers For Below Questions

What Is Query Throttling in java?

775


Can substring create new object?

774


What is string example?

803


What is the difference between reader/writer and inputstream/output stream?

769


What is the byte order of byte buffer?

779


Can java inner class be static?

751


How can we create a synchronized collection from given collection?

841


What is tree in java?

670


How many bits are in a sentence?

793


Why there is no call by reference in java?

694


What environment variables do I need to set on my machine in order to be able to run java programs?

790


What about instanceof operator in java?

788


What are different types of constants?

721


What is the dot operator?

761


What is the difference between choice and list?

829