Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package teste;
- public class Foo {
- private double num;
- public Foo() {
- }
- public Foo(double d) {
- num = d;
- }
- public double getNum() {
- return num;
- }
- public void setNum(double num) {
- this.num = num;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement