📄 empresa.java
字号:
/* * 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -