whatsthecodeforthat.com

What's the code for Class/Struct Definition in java?

public class CustomType {
	Type1 Field1
	Type2 Field2
}