I have this code.
class VBO (size: Int, usage: Int,
private val vao: Int = GL30.glGenVertexArray(),
private val vbo: Int = GL15.glGenBuffers())
Why can I use size and usage in other methods in the class? Also what are they considered (fields, methods, ect.)?