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 are different types of control structures?

736


Why string is called as immutable?

729


What is a copy constructor in java?

829


What is exception hierarchy in java?

796


How big is a boolean?

811


How do you initialize an arraylist in java?

754


Can we extend a class with private constructor?

736


What are the steps that are followed when two computers connect through tcp?

772


Can we access instance variables within static methods ?

839


What is contractor means and methods?

781


What is null in java?

718


Why does abstract class have constructor?

774


What do negative exponents mean?

763


How does enum work in java?

792


What are the advantages of unicode?

793