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

📄 coord.java

📁 This the OXO example code plus the presentation. It is intended to provide you with some clues about
💻 JAVA
字号:
/** * A simple class designed to hold a (rwo,column) pair. *  * @author Ian Bradley  * @version 1.0 March 2008 */public class Coord{    // instance variables - replace the example below with your own    private int row;    private int column;    /**     * Constructor for objects of class Coord     */    public Coord(int row, int column)    {        this.row = row;        this.column = column;    }    /**     * returns a coord object     *      * @return the coord object     */    public Coord getCoord()    {        return this;    }        /**     * returns the row value.     *      * @return row value     */    public int getRow()    {        return row;    }        /**     * returns the column value.     *      * @return column value     */    public int getColumn()    {        return column;    }}

⌨️ 快捷键说明

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