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

📄 圆and圆锥test.java

📁 java源程序,两个类之间的函数转换,实现相应功能
💻 JAVA
字号:
/* * To change this template, choose Tools | Templates * and open the template in the editor. */package 阶段练习一;/** * * @author lenovo */public class 圆and圆锥test {   public static void main(String args[])  {  圆 circle=new 圆(10);      圆锥 circular=new 圆锥(circle,20);      System.out.println("圆锥底圆半径:"+circular.获取底圆半径());       System.out.println("圆锥的体积:"+circular.计算体积());      circular.修改底圆半径(100);      System.out.println("圆锥底圆半径:"+circular.获取底圆半径());      System.out.println("圆锥的体积:"+circular.计算体积());     }}

⌨️ 快捷键说明

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