How to print a statement without using semicolan in java

Answer Posted / nagireddy

BufferedWriter bw=new BufferedWriter(new PrintWriter(System.out));
//Scanner scan=new Scanner((Readable) System.out);
bw.write("nagi");
bw.close();

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does jre stand for?

600


How strings are created in java?

555


What is the difference between length and length() method in java?

635


What are the legal operands of the instanceof operator?

556


What is hashing in java?

559






What does arrays sort do in java?

536


Why are parameters used in functions?

525


What is difference between ++ I and I ++ in java?

524


When super keyword is used?

587


Is null a string?

546


What is the function of compareto in java?

581


What is meant by binding in rmi?

541


What is immutable data?

574


Can we create an object of private class?

541


I want to re-reach and use an object once it has been garbage collected. How it's possible?

531