any other way to print the text without using
System.out.println() in java?

Answer Posted / ravi ranjan

int a=10;

System.out.printf("%d",+a);

Is This Answer Correct ?    2 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can rmi and corba based applications interact ?

874


Why singleton class is used in java?

846


What does provide mean construction?

851


Is singleton class thread safe?

773


How to read and write image from a file ?

826


Does it matter in what order catch statements for filenotfoundexception and ioexception are written?

746


When will you define a method as static?

853


What is the difference between the paint() and repaint() methods in java programming?

928


What are variable arguments or varargs?

817


Can constructor be static or final?

887


define polymorphism in java

874


In the below example, what will be the output?

817


What is string example?

833


Can we create our own wrapper class in java?

767


What does system out println () do?

811