⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 clientcomplex.java

📁 some programs in java
💻 JAVA
字号:
/*
 * Main.java
 *
 * Created on 17 octombrie 2007, 09:16
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package lab32;

/**
 *
 * @author Alina.Stanila
 */
public class ClientComplex {
    
    /** Creates a new instance of Main */
    public ClientComplex() {
    }
    
    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        Complex z1=new Complex(-2,5);
        System.out.println(z1);
        Complex z2=new Complex(1,2);
        System.out.println(z2);
        System.out.println("Suma=" +Complex.suma(z1,z2));
        System.out.println("Produs"+Complex.produs(z1,z2));
    }
    
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -