当前位置:网站首页>Print stream and system setout();
Print stream and system setout();
2022-07-01 04:48:00 【Yangasang 815】
import java.io.*;
public class Test1 {
public static void main(String[] args) throws Exception {
// Print stream
PrintStream pa=new PrintStream("");
pa.print(" This is a print stream , Here you can print any type of data ");
PrintWriter pw=new PrintWriter("");
pw.print(" This is a print stream , Here you can print any type of data ");
// There is no difference in the printing function between the above two streams
System.setOut(pa);
System.out.println(" The content will be directly printed into the corresponding file after the change in the previous line ");
}
边栏推荐
- Leecode question brushing record 1310 subarray XOR query
- 科研狗可能需要的一些工具
- Pytoch (IV) -- visual tool visdom
- 【暑期每日一题】洛谷 P5886 Hello, 2020!
- [pat (basic level) practice] - [simple simulation] 1064 friends
- 神经网络-非线性激活
- Oracle views the creation time of the tablespace in the database
- JVM栈和堆简介
- 【硬十宝典】——1.【基础知识】电源的分类
- Leecode record 1351 negative numbers in statistical ordered matrix
猜你喜欢
![[2020 overview] overview of link prediction based on knowledge map embedding](/img/69/22983c5f37bb67a8dc0e2b87c73238.jpg)
[2020 overview] overview of link prediction based on knowledge map embedding

pytorch中常用数据集的使用方法

Research on medical knowledge atlas question answering system (I)

LM small programmable controller software (based on CoDeSys) note 20: PLC controls stepping motor through driver

Openresty rewrites the location of 302

Neural networks - use sequential to build neural networks

Cmake selecting compilers and setting compiler options
![AssertionError assert I.ndim == 4 and I.shape[1] == 3](/img/b1/0109bb0f893eb4c8915df36c100907.png)
AssertionError assert I.ndim == 4 and I.shape[1] == 3

Kodori tree board

Pytoch (III) -- function optimization
随机推荐
[2020 overview] overview of link prediction based on knowledge map embedding
分布式-总结列表
C - detailed explanation of operators and summary of use cases
【暑期每日一题】洛谷 P3742 umi的函数
[hard ten treasures] - 2 [basic knowledge] characteristics of various topological structures of switching power supply
Pico Neo3手柄抓取物体
LeetCode_ 28 (implement strstr())
Openresty rewrites the location of 302
Daily algorithm & interview questions, 28 days of special training in large factories - the 13th day (array)
RuntimeError: mean(): input dtype should be either floating point or complex dtypes. Got Long instead
Pytorch neural network construction template
All in all, the low code still needs to solve these four problems
【暑期每日一题】洛谷 P5886 Hello, 2020!
STM32扩展板 数码管显示
[pat (basic level) practice] - [simple simulation] 1064 friends
Neural networks - use of maximum pooling
Dataloader的使用
科研狗可能需要的一些工具
2022 tea master (intermediate) examination question bank and tea master (intermediate) examination questions and analysis
Neural network - nonlinear activation