You need to complete the code to set up server configuration constants. Fill in the blanks to create three constants: SERVER_PORT, DATABASE_URL, and MAX_POOL_SIZE. Use the printConfig() function to check if your constants are correctly defined.
Constants and val variables
Server secrets: The constants conundrum
Report a typo
Fill in the gaps with the relevant elements
const val "
const val
fun printConfig() {
println("Server Port: $SERVER_PORT")
println("Database URL: $DATABASE_URL")
println("Max Pool Size: $MAX_POOL_SIZE")
}Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.