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 is string pool in java?

566


Why are the destructors for base class and derived class called in reverse order when the program exits

1710


What are facelets templates?

602


What are thread safe functions?

514


Define a package.

570






Give me example of derived data types.

594


What is return in java?

560


Is java free for commercial?

491


What is thread life cycle in java?

586


How can you share data between two thread in Java?

526


Why char array is favored over string for the storage of passwords?

556


Is java call by value?

586


What is string in java?

565


Explain about complier design(phases)

632


What is classes in java?

519