empresa.java
来自「Program that uses a doc as database, and」· Java 代码 · 共 63 行
JAVA
63 行
/* * To change this template, choose Tools | Templates * and open the template in the editor. */package laforehash;/** * * @author Usuario */public class Empresa implements Node{ private int id; private String tel; private String nome; private Node next=null; public Node getNext (){ return next; } public void setNext (Node next){ this.next=next; } public int getId() { return id; } public void setId(int id) { this.id=id; } public String getTel() { return tel; } public void setTel(String tel) { this.tel=tel; } public String getNome() { return nome; } public void setNome(String nome) { this.nome=nome; } public void displayEmpresa() // display this link { System.out.print("\nNome: "+ nome); System.out.print(" Id: "+ id); System.out.print(" Telefone: "+ tel); } }
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?