Important Questions [6]
- Identify and Name the Following Tokens : (I) Public (Ii) ‘A’ (Iii) == (Iv) {}
- Name any two types of access specifiers.
- Study the Method and Answer the Given Questions. Public Void Samplemethod() { for (Int I=0; I < 3; I++) { for (Int J = 0; J<2; J++)
- Study the Method and Answer the Given Questions. Public Void Samplemethod() { for (Int I=0; I < 3; I++) { for (Int J = 0; J<2; J++) {Int Number = (Int) (Math.Random() * 10);
- The access specifier that gives least accessibility is ______.
- Define Encapsulation.
