Roman Elizarov | 1f74a2d | 2018-06-29 19:19:45 +0300 | [diff] [blame^] | 1 | /* |
2 | * Copyright 2016-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. | ||||
3 | */ | ||||
4 | |||||
Vsevolod Tolstopyatov | 74bcc92 | 2018-05-03 20:07:54 +0300 | [diff] [blame] | 5 | package cases.protected |
6 | |||||
7 | public class PublicFinalClass protected constructor() { | ||||
8 | protected val protectedVal = 1 | ||||
9 | protected var protectedVar = 2 | ||||
10 | |||||
11 | protected fun protectedFun() = protectedVal | ||||
12 | } |