public class Bor
extends java.lang.Object
Constructor and Description |
---|
Bor(java.lang.String fajta,
int evjarat)
Constructs a Bor objects and fills its attributes with the specified
parameters.
|
Modifier and Type | Method and Description |
---|---|
int |
getEvjarat()
Returns the value of the evjarat attribute of the current object.
|
java.lang.String |
getFajta()
Returns the value of the fajta attribute of the current object.
|
void |
setEvjarat(int evjarat)
Sets the specified value for the fajta attribute of the current object.
|
void |
setFajta(java.lang.String fajta)
Sets the specified value for the fajta attribute of the current object.
|
java.lang.String |
toString() |
public Bor(java.lang.String fajta, int evjarat)
fajta
- to be setevjarat
- to be setpublic java.lang.String getFajta()
public void setFajta(java.lang.String fajta)
fajta
- to be setpublic int getEvjarat()
public void setEvjarat(int evjarat)
evjarat
- to be setpublic java.lang.String toString()
toString
in class java.lang.Object