int a = 357;//十进制转成二进制System.out.println(Integer.toBinaryString(a)); package com.swift; import java.util.Scanner; public class Decimal2Binary { public static void main(String[] args) { Scanner scan=new Scanner(System.in); System.out.println("please e…