Computer Science, asked by poojasinghrajput46, 5 days ago

W.A.P in java to print on console by using File Writer class​

Answers

Answered by SiddharthKalyanSahoo
1

Answer:

Java PrintWriter Example

package com.javatpoint;

import java.io.File;

import java.io.PrintWriter;

public class PrintWriterExample {

public static void main(String[] args) throws Exception {

//Data to write on Console using PrintWriter.

PrintWriter writer = new PrintWriter(System.out);

MARK ME AS THE BRAINLIEST

Similar questions