Showing posts with label Access Modifiers. Show all posts
Showing posts with label Access Modifiers. Show all posts

Monday, November 9, 2009

SCJP 1.6 Study Guide: Declarations and Access Controls Part 6

Declaring Class Members and Access Modifiers

By this time I hope you have grasped all the required concepts in declaring and modifying classes. If not go back and I suggest you try coding at the same time. Those concepts are necessary before reading the next posts regarding declaring class members.

Friday, November 6, 2009

SCJP 1.6 Study Guide: Declarations and Access Controls Part 3

In Declarations and Access Controls Part 2, I discussed what it means to be a legal identifier and what is widely accepted in practice. Again, remember that an identifier does not need to conform to conventions to be legal. Take a quick look of the rules here.

Class Declaration and Access Modifiers

In creating a Java application you will mostly create classes and interfaces and how you write them will heavily affect your whole application. In this part I will discuss how we declare classes and how you can modify access to them.