python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Using JDK17 & Record in Android Studio (Java, Android)
Part 1 :-
After getting this version of Android Studio, I am able to use JDK17 in my project.
Everything works great, no build fails, no runtime error, etc.
(like enhanced-switch is working fine)
......

Sujal Kumar
Votes: 0
Answers: 3
Java records private constructor with builder
I have record:
@Schema(title = "Car")
public record CarResponse(
@Schema(
description = "The car name",
example = "Audi")
@JsonProperty(&...

dawis11
Votes: 0
Answers: 0
Nested Spring configuration (ConfigurationProperties) in records
How can one map an application.yaml configuration with nested properties to a similar record structure in Java?
E.g., if we have the following yaml:
foo:
bar:
something: 42
baz:
...

Rohde Fischer
Votes: 0
Answers: 3
Can I use Java 16 record with JPA entity?
I am trying to do something similar like below.
@Entity
@Table(name="Sample")
public record Sample(Integer id, String name) {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)...

MongGu
Votes: 0
Answers: 1