Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

struct in java

Structs are not present in Java. We can simulate POJOs to act like structs.
  
edit: Since Java 14, we have Records,  which are easy to build structured data types.
 
PREVIOUS NEXT
Tagged: #struct #java
ADD COMMENT
Topic
Name
3+9 =