Hello...
It's nice to have you visiting my posting. Let's get start to the points and main objectives, SCJP. By this time we have to assume you have basic understanding of Java. If not, please keep the pace and hope you are willing to take longer time and patience.
In this first chapter we'll talk about Declacations and Access Control which is divided into 4 sub-chapters
# Identifiers and JavaBeans
# Class Declaration
# Interface Declaration
# Class Members Declaration
Before we get deeper to each of them, lets review some basic understandings and terms in Java.
a) Class : it's not where you have your lecture, but class in Java is a template with state and behavior that an object has.
b) Object : as the Java Virtual Machine (JVM) runs at runtime, it will create a new object from class when it encounters "new" key word.
c) State (instance variables) : values assigned to objects' instance are the object's state
d) Behavior (methods) : methods is the behavior or actions of the class. Methods are the actual excecutor of actions in the
Identifiers and Keywords
Identifiers are the names for Java components, like class' name and object's name. Later we'll talk more detail about the legal rules for identifiers.
Just like the other programming language, Java also has several reserverd words known as keywords which cant be used as identifiers.
Inheritance
As an Object-Oriented Programming (OOP), Java has the concept of inheritance which means that codes defined in one class can be used in other classes, known as parent-child relation. The subclass has every Class members that superclass possesses that are assigned public or protected.
For instance, an "Animal" superclass has numOfLegs and run(), then its subclass, "Horse" will also have both of them, and it can aslo override the "run()"
Interfaces
One superb example of 'inheritance' is interface which is like a perfect abstract superclass because it only defines the methods on the superclass but it doesn't support the way it should be implemented. The subclass, therefore, should implement those superclass methods.
Finding Other Classes
It's impossible to create a program totally from scratch, whether you want or not, you will need to use another programmer's code such as Java's API classes or your friends' special function code. By organizing the classes into "package", you can use "import" to get access to that out-source code.
Monday, February 15, 2010
Sun's Java Code Convention
To provide good maintenance for Java Programming, Sun has a coding convention so that all programmers will have same code-typing habit. Here are some conventions agreed by Java developers
a) Classes and interfaces : should be in camelCase, the first letter should be capitalized, and if several words are linked together to form the name, the first letter of the inner words should be capitalized as well.
For classes, the name is typically noun, such as
Horse
DiskStorage
UserName
For interfaces, the name is typically adjectives, such as
Clickable
Runnable
b) Methods : the first letter should be lowercase, in camelCase form, and verb-noun combination, for example
getHeight
kickHard
setUserName
c) Variable: first character should be lowercase, then next characters are in camelCase, and it should be short yet meaningful, such as:
myAccount
boxHeight
d) Constant: in Java, you can use "static" and "final" keyword to creat constant. By convention, constant should be all in UPPERCASE wih underscore for sparation between characters, such as:
BOX_WIDTH
ACCOUNT_NUMBER
Java Beans Property
There are also some convention for JavaBean properties
a) if property is a boolean, the getter method is either "is" or "get" ("is" is preferable) like
isRound()
isStarted()
b) if the property is not boolean, the getter should be "get", such as
getHeight()
getTotalAccount()
c) the setter for both boolean and not boolean should be "set". Like "setMaxHeight" is the correct way to set the value or maxHeight variable.
d) The first character after is, set, or get should be in capital.
e) Setter must posses public signatures and void return type
f) Getter must be public with no argument and matched return type with setter method
There are also some rules for JavaBean Listener Naming mechanism
a) Listeners are used to register a listener and must use prefix "add" followed by listener type. For example:
addMouseClickListener() is a valid method to event source to register.
b) Listeners used to remove event sources, should use "remove" prefix, such as
removeMouseClickListener()
c) the type of added/moved listener must add as arguments. For instance:
public void addMyListener(MyListener m)
a) Classes and interfaces : should be in camelCase, the first letter should be capitalized, and if several words are linked together to form the name, the first letter of the inner words should be capitalized as well.
For classes, the name is typically noun, such as
Horse
DiskStorage
UserName
For interfaces, the name is typically adjectives, such as
Clickable
Runnable
b) Methods : the first letter should be lowercase, in camelCase form, and verb-noun combination, for example
getHeight
kickHard
setUserName
c) Variable: first character should be lowercase, then next characters are in camelCase, and it should be short yet meaningful, such as:
myAccount
boxHeight
d) Constant: in Java, you can use "static" and "final" keyword to creat constant. By convention, constant should be all in UPPERCASE wih underscore for sparation between characters, such as:
BOX_WIDTH
ACCOUNT_NUMBER
Java Beans Property
There are also some convention for JavaBean properties
a) if property is a boolean, the getter method is either "is" or "get" ("is" is preferable) like
isRound()
isStarted()
b) if the property is not boolean, the getter should be "get", such as
getHeight()
getTotalAccount()
c) the setter for both boolean and not boolean should be "set". Like "setMaxHeight" is the correct way to set the value or maxHeight variable.
d) The first character after is, set, or get should be in capital.
e) Setter must posses public signatures and void return type
f) Getter must be public with no argument and matched return type with setter method
There are also some rules for JavaBean Listener Naming mechanism
a) Listeners are used to register a listener and must use prefix "add" followed by listener type. For example:
addMouseClickListener() is a valid method to event source to register.
b) Listeners used to remove event sources, should use "remove" prefix, such as
removeMouseClickListener()
c) the type of added/moved listener must add as arguments. For instance:
public void addMyListener(MyListener m)
Labels:
Declarations and Access Control
Identifiers & JavaBeans
Welcome back my friend...as you visit this posting, we can assume that you've had quite seriousness in preparing for SCJP. Let's keep up our pace of working for SCJP so that high score is a very feasible dream.
Let's start with Java identifiers convention
a) Legal identifiers means that your code is syntatically legal.
b) Sun's Java Code Convention: It's the recommended naming mechanism by Sun Microsystem for more standardized naming system for all Java programmers
c) JavaBeans Naming Standards is not listed on the exam but you will need them in real-life programming.
Legal Identifiers
To have legal names in Java programming, you need to know some rules for creating legal identifiers
a) identifier must start with a letter, a currency sign, and connecting character (such as underscore). Identifiers must not start with a number.
b) the second character then can contain any combination of letters, currency characters, connecting characters, or numbers
c) there's no limit for characters' length
d) no keyword should be used (click here for Java keyword)
e) in Java, identifiers are case-sensitive; "animal" dan "Animal" are 2 different identifiers in Java.
examples of legal names are:
int $currency12;
long ___4_;
short i_love_this_crazy_long_identifier_name;
examples for illegal names are:
int -wrong-number;
short 9milk;
double sharp#;
Let's start with Java identifiers convention
a) Legal identifiers means that your code is syntatically legal.
b) Sun's Java Code Convention: It's the recommended naming mechanism by Sun Microsystem for more standardized naming system for all Java programmers
c) JavaBeans Naming Standards is not listed on the exam but you will need them in real-life programming.
Legal Identifiers
To have legal names in Java programming, you need to know some rules for creating legal identifiers
a) identifier must start with a letter, a currency sign, and connecting character (such as underscore). Identifiers must not start with a number.
b) the second character then can contain any combination of letters, currency characters, connecting characters, or numbers
c) there's no limit for characters' length
d) no keyword should be used (click here for Java keyword)
e) in Java, identifiers are case-sensitive; "animal" dan "Animal" are 2 different identifiers in Java.
examples of legal names are:
int $currency12;
long ___4_;
short i_love_this_crazy_long_identifier_name;
examples for illegal names are:
int -wrong-number;
short 9milk;
double sharp#;
Labels:
Declarations and Access Control
Java Keywords
As in all programming language, in Java, Sun has keywords, and here are all of them
abstract boolean break byte case catch char class const continue default do double else extends final finally float for goto if implements import instanceof int interface long native new package private protected public return short static striptfp super switch synchronized this throw throws transient try void volative while assert (added in Java 1.4) enum (added in Java 1.5)
Labels:
Declarations and Access Control
The Importance of Information and Communication Technology (ICT) in Ramadhan
The most-wanted month of all has come. Every Muslim’s 11 month-waiting is relieved by its presence. The month where on the first ten days Allah gives abundant Rahmah to all His creatures, on the second ten days He provides forgiveness for any mistakes that we made, and on the last 10 days Allah will put us away of hellfire.
During this holy month, when Al-Qur’an was revealed to Prophet Muhammad (Pbuh – Peace be upon him), every Muslim should be fasting, as stated in Sura Albaqara (2) verse 183:
“O ye who believe! Fasting is prescribed to you as it was prescribed to those before you that ye may (learn) self-restraint.”― (Al-baqara: 183)
For 29 or 30 days long, every believer should not eat during the day, neither should conduct sexual intercourse nor other lust-driven activities. It’s the month when our physical body and soul is trained.
It is believed that during that month we should increase our frequency in submitting good deeds to Allah Almighty while reducing the number of foul as minimum as possible since during this month, every ‘ibada that is worth sunnah in the other months, will be judged as worthy as fardu ‘ibada.
Therefore, it’s almost mandatory to always be doing great good things during Ramadan as well as spreading the invitations to do so. Not only conducting the good deeds by ourselves, but we also need to invite the others to do so.
How ICT meets the needs
In the last two decades, ICT has been the most developed technology for humankind. Since the use of first personal computer in 1970s and first laptop in 1980s, nowadays the use of computer for business applications, education purposes, military services, and personal needs is inevitable. We can find the application of ICT in almost every area of human interest.
In this modern age we can personally witness how ICT solve the distance problem in business life by the implementation of teleconference-distant learning. The use of cell phones has provided a great aid for businessmen to manage their networks wherever they are.
ICT has eased the teachers and professors in teaching their students. Power points based application is now everywhere in every classes throughout high schools and universities. E-Learning is now very popular in education field as Michael Jackson in music.
In modern military and security defense of major world leader nations, ICT has truly played significant role. The real life simulation of 3D helps them practice to adjust the war site. Satellite images from above-the-sky let them know the current conditions of enemies they are about to face.
Those applications can even be more useful for even much greater purposes, the da’wah of Islam. By implementing those advantages of ICT, the da’wah of Islam can even be much greater. There are some points where we can utilize the ICT for the sake of Allah.
Internet has been one of the greatly rapid developments of ICT. It’s the core value of modern communication and information dissemination. Implementing the Internet-based application, we can conduct the online da’wah in which we don’t have to meet face to face.
Using Internet technology, we can replace the old fashioned book with online e-book or article. In addition to its free price, we can also spread them out easily since they don’t need the packaging and delivery service. We can share those Islamic e-books and articles to our Muslim friends so that they can have the lessons inside the pages of those online books.
Moreover, Internet helps us to find out information that we need easily. In the decades before, Muslims brothers had to go from one library to another to search the articles/hadeeths that they needed, but now, every Muslim can just simply sit in front of his Internet-connected computer and look for any articles or information they need easily via Internet.
During Ramadan, we can surely find as many articles as we want. We don’t have to seek on library for Ramadan guide; finding on Internet is now much more favorable. Moreover, hadeeths or verses that we need to refer for better Ramadan daily activities will be easier to find on the Internet than looking for them in textbooks.
Short Messaging Service (SMS) has been a must in every cellular application service. There is no any mobile phone without SMS services. This function is very powerful, unlike its physically unsophisticated feature.
One important implementation for da’wah is by sending hadeeths to our colleagues or mentee students. We can send reminders to our friends to keep their minds on Allah. Another way is by sharing congratulations or good willingness for our acquaintances’ great achievements so that we can be better Muslim brother for them.
In the very basic function, SMS helps us to arrange religious meeting with our brothers. It could be mentoring meeting or discussion group for more advanced talk. During our Islamic holy days, we can send greetings to our friends everywhere in the globe.
During Ramadan, we can send religious message and reminder to our beloved colleagues, wishing their great day during Ramadan or wishing them nice dinner at night after fasting for the whole day. In society where there are no many mushollas or masjid, SMS is very helpful in collecting people to have the Teraweh together.
Another common ICT application is live (web) messenger in which we can communicate with our distant friends in real time. Not only chatting via text, the current development of web live messenger even allow users to call another freely through Voice over Internet Protocol (VoIP) as long as those two computers are connected to Internet access and possess microphone and headphone. Moreover, the current notebook even supports real time video calling for free as well. As both end-line computers have web-camera (web-cam for short) we can talk face to face to our friends.
This application is very important for mentoring or chief meeting whose members are on different places. In mentoring, the mentor and mentees don’t necessarily to stay in one room, sitting together on the same table. The mentor could be in Saudi Arabia while some mentees listening the mentor’s lecture in their room of Harvard’s students’ dormitory while some are participating from their Finish NOKIA’s office. The mentor can deliver his lecture and the students can also asking questions on real time and watching the mentor’s face on the screen.
Using live messenger such as Yahoo!Messenger, MSN Messenger, Google Talk, Skype, and Nate on, a transferred mentee can still join his old mentoring group even though he’s moving out to different country. Distance is no longer a problem since the fundamental needs of mentoring (live talking that enabling two-way communication) are fulfilled.
Many Muslims don’t live in the same city with their family, and therefore during Ramadan, the holiest month of all, they need to talk to their family to know how their fasting. Web messenger will be so helpful on that time since live conversation is possible during the day and night.
Moreover, mentors can still remind his mentees everywhere they are to keep up the good deeds during the Ramadan and to compete in good practices. A brother can encourage his sister not to get involved to her non-Muslim friends who don’t conduct the fasting during the days. A father working abroad can still monitor his children’s fasting even though they’re not in the same place. Those are possible in current age because of the rapid development of web live messenger.
Online video streaming is very powerful to spread out the news of Islam as well as for lecturing to Muslims all across the globe. Unlike the old era when we had hard times to get qualified lectures of Islam, nowadays we can find any kind of online Islamic teaching in Google Video or Youtube as well as other video streaming providers
If we need lecture, we can just open our computer and connect to Internet, and then we can get (almost) any kind of lecture that we want. We can find any information we deserve, from the application of fiqh in daily life, the tajwid of the Quran, the history of Islam, to the life of Muslims in different states.
During the Ramadan, we can also get live lecture from Ulama whose hometowns are in different countries. Their teachings are easily found on the Internet. If we are living in non-muslim are, we don’t have to travel two hours back-and-forth for the teaching so frequently, we can save our time by the use of online teachings that are almost ubiquitous in the current age.
Even though ICT is not the product of Muslim or Islamic Organization, its promising application for Islamic da’wah is very clearly visible, and therefore we the Islamic believers must utilize such technology for the sake of Allah.
During this holy month, when Al-Qur’an was revealed to Prophet Muhammad (Pbuh – Peace be upon him), every Muslim should be fasting, as stated in Sura Albaqara (2) verse 183:
“O ye who believe! Fasting is prescribed to you as it was prescribed to those before you that ye may (learn) self-restraint.”― (Al-baqara: 183)
For 29 or 30 days long, every believer should not eat during the day, neither should conduct sexual intercourse nor other lust-driven activities. It’s the month when our physical body and soul is trained.
It is believed that during that month we should increase our frequency in submitting good deeds to Allah Almighty while reducing the number of foul as minimum as possible since during this month, every ‘ibada that is worth sunnah in the other months, will be judged as worthy as fardu ‘ibada.
Therefore, it’s almost mandatory to always be doing great good things during Ramadan as well as spreading the invitations to do so. Not only conducting the good deeds by ourselves, but we also need to invite the others to do so.
How ICT meets the needs
In the last two decades, ICT has been the most developed technology for humankind. Since the use of first personal computer in 1970s and first laptop in 1980s, nowadays the use of computer for business applications, education purposes, military services, and personal needs is inevitable. We can find the application of ICT in almost every area of human interest.
In this modern age we can personally witness how ICT solve the distance problem in business life by the implementation of teleconference-distant learning. The use of cell phones has provided a great aid for businessmen to manage their networks wherever they are.
ICT has eased the teachers and professors in teaching their students. Power points based application is now everywhere in every classes throughout high schools and universities. E-Learning is now very popular in education field as Michael Jackson in music.
In modern military and security defense of major world leader nations, ICT has truly played significant role. The real life simulation of 3D helps them practice to adjust the war site. Satellite images from above-the-sky let them know the current conditions of enemies they are about to face.
Those applications can even be more useful for even much greater purposes, the da’wah of Islam. By implementing those advantages of ICT, the da’wah of Islam can even be much greater. There are some points where we can utilize the ICT for the sake of Allah.
Internet has been one of the greatly rapid developments of ICT. It’s the core value of modern communication and information dissemination. Implementing the Internet-based application, we can conduct the online da’wah in which we don’t have to meet face to face.
Using Internet technology, we can replace the old fashioned book with online e-book or article. In addition to its free price, we can also spread them out easily since they don’t need the packaging and delivery service. We can share those Islamic e-books and articles to our Muslim friends so that they can have the lessons inside the pages of those online books.
Moreover, Internet helps us to find out information that we need easily. In the decades before, Muslims brothers had to go from one library to another to search the articles/hadeeths that they needed, but now, every Muslim can just simply sit in front of his Internet-connected computer and look for any articles or information they need easily via Internet.
During Ramadan, we can surely find as many articles as we want. We don’t have to seek on library for Ramadan guide; finding on Internet is now much more favorable. Moreover, hadeeths or verses that we need to refer for better Ramadan daily activities will be easier to find on the Internet than looking for them in textbooks.
Short Messaging Service (SMS) has been a must in every cellular application service. There is no any mobile phone without SMS services. This function is very powerful, unlike its physically unsophisticated feature.
One important implementation for da’wah is by sending hadeeths to our colleagues or mentee students. We can send reminders to our friends to keep their minds on Allah. Another way is by sharing congratulations or good willingness for our acquaintances’ great achievements so that we can be better Muslim brother for them.
In the very basic function, SMS helps us to arrange religious meeting with our brothers. It could be mentoring meeting or discussion group for more advanced talk. During our Islamic holy days, we can send greetings to our friends everywhere in the globe.
During Ramadan, we can send religious message and reminder to our beloved colleagues, wishing their great day during Ramadan or wishing them nice dinner at night after fasting for the whole day. In society where there are no many mushollas or masjid, SMS is very helpful in collecting people to have the Teraweh together.
Another common ICT application is live (web) messenger in which we can communicate with our distant friends in real time. Not only chatting via text, the current development of web live messenger even allow users to call another freely through Voice over Internet Protocol (VoIP) as long as those two computers are connected to Internet access and possess microphone and headphone. Moreover, the current notebook even supports real time video calling for free as well. As both end-line computers have web-camera (web-cam for short) we can talk face to face to our friends.
This application is very important for mentoring or chief meeting whose members are on different places. In mentoring, the mentor and mentees don’t necessarily to stay in one room, sitting together on the same table. The mentor could be in Saudi Arabia while some mentees listening the mentor’s lecture in their room of Harvard’s students’ dormitory while some are participating from their Finish NOKIA’s office. The mentor can deliver his lecture and the students can also asking questions on real time and watching the mentor’s face on the screen.
Using live messenger such as Yahoo!Messenger, MSN Messenger, Google Talk, Skype, and Nate on, a transferred mentee can still join his old mentoring group even though he’s moving out to different country. Distance is no longer a problem since the fundamental needs of mentoring (live talking that enabling two-way communication) are fulfilled.
Many Muslims don’t live in the same city with their family, and therefore during Ramadan, the holiest month of all, they need to talk to their family to know how their fasting. Web messenger will be so helpful on that time since live conversation is possible during the day and night.
Moreover, mentors can still remind his mentees everywhere they are to keep up the good deeds during the Ramadan and to compete in good practices. A brother can encourage his sister not to get involved to her non-Muslim friends who don’t conduct the fasting during the days. A father working abroad can still monitor his children’s fasting even though they’re not in the same place. Those are possible in current age because of the rapid development of web live messenger.
Online video streaming is very powerful to spread out the news of Islam as well as for lecturing to Muslims all across the globe. Unlike the old era when we had hard times to get qualified lectures of Islam, nowadays we can find any kind of online Islamic teaching in Google Video or Youtube as well as other video streaming providers
If we need lecture, we can just open our computer and connect to Internet, and then we can get (almost) any kind of lecture that we want. We can find any information we deserve, from the application of fiqh in daily life, the tajwid of the Quran, the history of Islam, to the life of Muslims in different states.
During the Ramadan, we can also get live lecture from Ulama whose hometowns are in different countries. Their teachings are easily found on the Internet. If we are living in non-muslim are, we don’t have to travel two hours back-and-forth for the teaching so frequently, we can save our time by the use of online teachings that are almost ubiquitous in the current age.
Even though ICT is not the product of Muslim or Islamic Organization, its promising application for Islamic da’wah is very clearly visible, and therefore we the Islamic believers must utilize such technology for the sake of Allah.
Sunday, February 14, 2010
How to Create A New Blogspot Account
Nowadays, blogging has been a very popular activities and a new hobby for many. Therefore, it's kinda silly if you dont know how to create a blog.
Here is a simple way to create a new account for Blogspot, a very famous blog provider. Please enjoy and I hope you'll make one soon.
1. Open your browser, and type "www.blogspot.com" and you'll see the following window

2. Click the "CREATE A BLOG" button

3. You'll see a new page with the requirements to fill out data for registration. Just fill out your data into the page.

4. After that process successful, put your "Blog Title" on the available space.
5. Now you can select a template for your blog and postings. There are several standard template by Blogspot. But you can still find more on the Internet.

6. After that, now you'll be ready for your first posting

Have fun blogging guys...!!!
Here is a simple way to create a new account for Blogspot, a very famous blog provider. Please enjoy and I hope you'll make one soon.
1. Open your browser, and type "www.blogspot.com" and you'll see the following window

2. Click the "CREATE A BLOG" button

3. You'll see a new page with the requirements to fill out data for registration. Just fill out your data into the page.

4. After that process successful, put your "Blog Title" on the available space.
5. Now you can select a template for your blog and postings. There are several standard template by Blogspot. But you can still find more on the Internet.

6. After that, now you'll be ready for your first posting

Have fun blogging guys...!!!
Free Download for BlackBerry Themes

BlackBerry is now a massive trend in mobile phone technology, almost every top-level businessman has it in his pocket. Or even students who just want to be styled-up and some IT-geeks students who cannot live without cool gadget with him.
Anyway, for every BlackBerry users who wanna change his themes on the phone easily, you now can download it for free in www.coolblackberrythemes.com. You can find various kind of themes, such as animal-based, movies, or even basketball club. Just pick up the one you like.
Moreover, not only providing many kinds of themes, www.coolblackberrythemes.com also has themes for almost every types of BlackBerry so that you can choose which one that's suitable for your BB.

For newcomers or new owners, don't worry because CoolBlackBerryThemes also provides its users with manual how to download the theme. You can even suggest a theme if you cannot find the theme you like.
Unluckily, not all theme are free. So if you don't want to spend money for it, select the free one.
Happy finding your theme.
Labels:
Mobile Phone
Thursday, February 11, 2010
SCJP Topics
In the previous posting, I've been writing about SCJP (Sun Certified Java Programmer) which is a certification test to verify a programmer's capability in understanding Java Programming Language.
Within the test, there are 10 chapters covered, covering from as simple as declaration up to painstaking Generics and Collections. To give you general understanding of SCJP, here is the list of Chapters tested in SCJP. I chose a sample of Exam 310-055 which examines the Java 5 Platform.
Chapter 1: Declarations and Access Control.
This chapter test the fundamental programming skill of the programmer. The subject of test including Identifiers & JavaBeans, how to declare Classes in Java as well as Interfaces. Chapter 1 also evaluates on Class Members Declarations.
Chapter 2: Object Orientation.
Chapter 2 focus on Java as OOP (Object-Oriented Programming) language, and therefore programmer will face question regarding on relation among classes. This chapter covers Inheritance, Polymorphism, Overriding & Overloading, Reference Variable Casting, Interface Implementation, Return Types, Constructors & Instantiation, Statics, and Cohesion within the code.
Chapter 3: Assignments.
In this chapter, programmer should understand how to assign values to a specific Class members. Firstly, he needs to know about Literals, Assignments, and Variables, then how to pass variable into methods. Moreover, Array declaration, construction, and initialization is also covered in this chapter as well as using Wrapper Class and Boxing. Overloading and Garbage Collection are also under this discussion.
Chapter 4: Operators.
To successfully complete test problems regarding to operator, a test-taker should understand various operators in Java, including assignment operators, arithmetic operators, relational operators, instanceof operator, logical operators, and conditional operators.
Chapter 5: Flow Control, Exceptions, and Assertions.
As a programmer needs to control the flow within his program, the use of flow control is inevitable, and therefore Sun really tests programmer's skill on it. Understanding "if" and "switch" statements and loops are compulsory. Then a programmer should also be capable of handling exceptions and of working with Assertion Mechanism.
Chapter 6: Strings, I/O, Formatting, and Parsing.
Almost every program require interaction to access a file, and that's why Sun has chapter 6 which focuses on File Navigation and I/O and tests Serialization mechanism. The concept of Dates, Numbers, and Currency are also discussed here, added with Parsing, Tokenizing, and Formating.
Chapter 7: Generics and Collections.
As the use of Generics and Collections is getting more common now, Sun needs every of its programmer to understand the concept of Collections and then to be capable of using Collections within his programs. Moreover, it also tests the Generic Types.
Chapter 8: Inner Classes.
A very special topic in SCJP Exam that covers Inner Class. In this part, a programmer should understand the Method-Local Inner Classes, Anonymous Inner Class, and the concept of Static Nested Classes.
Chapter 9: Threads.
Thread is very powerful in multi-tasking purpose and every programmer should be aware of it. In this chapter, we will discuss Thread States and Transitions, then Synchronizing Code, and Thread Interactions.
Chapter 10: Development.
As Java is not a stand alone program, it will need to use other resources from outside or to let others use his package, that's the content of Development chapter. In this chapter, a programmer needs to know about managing JAR Files, and to use Static Imports.
That's a general overview of SCJP Test. Wish you'll get more used to it. I'll come back later with more details information about it. Good Luck for your test.
Within the test, there are 10 chapters covered, covering from as simple as declaration up to painstaking Generics and Collections. To give you general understanding of SCJP, here is the list of Chapters tested in SCJP. I chose a sample of Exam 310-055 which examines the Java 5 Platform.
Chapter 1: Declarations and Access Control.
This chapter test the fundamental programming skill of the programmer. The subject of test including Identifiers & JavaBeans, how to declare Classes in Java as well as Interfaces. Chapter 1 also evaluates on Class Members Declarations.
Chapter 2: Object Orientation.
Chapter 2 focus on Java as OOP (Object-Oriented Programming) language, and therefore programmer will face question regarding on relation among classes. This chapter covers Inheritance, Polymorphism, Overriding & Overloading, Reference Variable Casting, Interface Implementation, Return Types, Constructors & Instantiation, Statics, and Cohesion within the code.
Chapter 3: Assignments.
In this chapter, programmer should understand how to assign values to a specific Class members. Firstly, he needs to know about Literals, Assignments, and Variables, then how to pass variable into methods. Moreover, Array declaration, construction, and initialization is also covered in this chapter as well as using Wrapper Class and Boxing. Overloading and Garbage Collection are also under this discussion.
Chapter 4: Operators.
To successfully complete test problems regarding to operator, a test-taker should understand various operators in Java, including assignment operators, arithmetic operators, relational operators, instanceof operator, logical operators, and conditional operators.
Chapter 5: Flow Control, Exceptions, and Assertions.
As a programmer needs to control the flow within his program, the use of flow control is inevitable, and therefore Sun really tests programmer's skill on it. Understanding "if" and "switch" statements and loops are compulsory. Then a programmer should also be capable of handling exceptions and of working with Assertion Mechanism.
Chapter 6: Strings, I/O, Formatting, and Parsing.
Almost every program require interaction to access a file, and that's why Sun has chapter 6 which focuses on File Navigation and I/O and tests Serialization mechanism. The concept of Dates, Numbers, and Currency are also discussed here, added with Parsing, Tokenizing, and Formating.
Chapter 7: Generics and Collections.
As the use of Generics and Collections is getting more common now, Sun needs every of its programmer to understand the concept of Collections and then to be capable of using Collections within his programs. Moreover, it also tests the Generic Types.
Chapter 8: Inner Classes.
A very special topic in SCJP Exam that covers Inner Class. In this part, a programmer should understand the Method-Local Inner Classes, Anonymous Inner Class, and the concept of Static Nested Classes.
Chapter 9: Threads.
Thread is very powerful in multi-tasking purpose and every programmer should be aware of it. In this chapter, we will discuss Thread States and Transitions, then Synchronizing Code, and Thread Interactions.
Chapter 10: Development.
As Java is not a stand alone program, it will need to use other resources from outside or to let others use his package, that's the content of Development chapter. In this chapter, a programmer needs to know about managing JAR Files, and to use Static Imports.
That's a general overview of SCJP Test. Wish you'll get more used to it. I'll come back later with more details information about it. Good Luck for your test.
Labels:
JAVA,
Programming
Wednesday, February 10, 2010
Sun Certification (JAVA and Solaris Sertification)
Sun Certified Professional is a professional test held by Sun Microsystem to verify developer's skill on a particular field, especially on Java Programming Langauge or Oracle Operating System.
There are various type of Sun Certified Professional (SCP) Test, based on developers' level.
A. JAVA CERTIFICATION
B. SOLARIS OPERATING SYSTEM CERTIFICATION
Related Links
O) SCJP
There are various type of Sun Certified Professional (SCP) Test, based on developers' level.
A. JAVA CERTIFICATION
- Sun Certified Java Associate(SCJA) : test the basic knowledge of Object Oriented Programming, UML, and essentials of Java Programming language and platform. The targeted test takers are newcomers to Java who are not working in technical positions
- Sun Certified Java Programmer(SCJP) : SCJP tests more detail on basic knowledge of essentials of Java Programming Language. SCJP Exam tests how well a programmer understand the language syntax of Java.
Materials tested on SCJP Exam including the knowledge of declarations, access control, object oriented programming, assignments, operators, flow control, assertions, string handling, Input Output (I/O), parsing, formating, generics, collections, inner classes, threads, and JDK tools.
Please click here for more detail information about SCJP. - Sun Certified Java Developer(SCJD): SCJD is more advanced Java Programming test which evaluates the capability of developer to write a real-world commercial application and to solve all typical problems. This test is the highest level for Java Standard Edition.
- Sun Certified Java Business Component Developer(SCBCD): the objects of this test based on information related to Java components in distributed applications, in particular, Enterprise Java Beans (EJB).
- Sun Certified Java Developer for Java Web Services(SCDJWS): The test takers of this exam are those who have been working with Java for web-services application using Java technology, such as Web Services Developer Pack, JAX-WS, and JAXB.
- Sun Certified Java Mobile Application Developer(SCMAD): As its name, SCMAD evaluates programmers' understanding in developing Mobile application through J2ME, Java 2 Micro Edition.
- Sun Certified Java Enterprise Architect(SCEA): SCEA expects the test takers to possess a skill of software architecture in Java Enterprise Edition, in which they have to pass 3 tests (multiple choice exam on basic concepts, a UML design project, and an essay regarding to design project
B. SOLARIS OPERATING SYSTEM CERTIFICATION
- Sun Certified Solaris Associate: this certification tests the very basic understanding of UNIX OS performed in Solaris OS environment.
- Sun Certified System Administrator for Solaris Operating System : focuses on keep knowledge of Solaris OS, including understanding of basic UNIX and Solaris OS commands in file system management.
- Sun Certified Network Administrator for Solaris Operating System: Emphasis networking skills in Solaris OS.
- Sun Certified Security Administrator for Solaris Operating System: Newly developed by Sun. This mechanism is to evaluate depth knowledge of security features of Solaris OS.
Related Links
O) SCJP
Labels:
JAVA,
Programming
JAVA APIs
For you, JAVA Developers, dealing with JAVA APIs is a must. You'll need to open it everyday as you do your coding. Unless you've been working with it for a long period of time so that you've manage to memorize each and every of them.
Simply, API stands from Application Program Interfaces which stores predefined classes, interfaces, methods, constants, and packages coded by JAVA Developers within JAVA's approval so that other developers can simply refer to it if they want to use within their code.
To share an idea of APIs, here is the link to JAVA APIs, published on their website. Please enjoy and share it with your friends.
(a) JAVA SE (Standard Edition)
(b) JAVA EE (Enterprise Edition)
(c) JAVA ME (Micro Edition)
Simply, API stands from Application Program Interfaces which stores predefined classes, interfaces, methods, constants, and packages coded by JAVA Developers within JAVA's approval so that other developers can simply refer to it if they want to use within their code.
To share an idea of APIs, here is the link to JAVA APIs, published on their website. Please enjoy and share it with your friends.
(a) JAVA SE (Standard Edition)
(b) JAVA EE (Enterprise Edition)
(c) JAVA ME (Micro Edition)
Labels:
JAVA,
Programming