Computer Science, asked by DragonSlayer1026, 1 year ago

Which three piece of codes are equivalent to line 3?

Answers

Answered by Anirudhbhardwaj01
0
hii mate•●

》》1. final int k = 4;

2. public int k = 4;

3. static int k = 4;
========


Interfaces can have constants, which are always implicitly public, static, and final. Interface constant declarations of public, static, and final are optional in any combination.
☆☆
Similar questions