1~

Minter Coder's Blog

Chapter 2 - Soru 39

2021-03-18

39. Which pairs of statements can accurately fill in the blanks in this table?

Variable            Type Can be called within the class from what type of method
Instance            Blank 1:_______
Static                Blank 2: _______

A. Blank 1: an instance method only, Blank 2: a static method only
B. Blank 1: an instance or static method, Blank 2: a static method only
C. Blank 1: an instance method only, Blank 2: an instance or static method
D. Blank 1: an instance or static method, Blank 2: an instance or static method

Çok güzel soru , arkadaşlar siz instance değişkenleri static methodların içerisinde çağıramazsınız ama static değişkenleri instance method yada static method içerisinde çağırabilirsiniz . Bunu aklınızın bir köşesine yazın işe yarayacak.Cevap C