Monday, August 31, 2009

CONSTRUCTOR -> is a method that has the same name as the class name, used to initialize the fields in the object, do not return a value, not even using the void, can be 'overloaded Constructros' (constructor that can initialize another object of the 1 way).The example constructor programimage below is a continuation of the above programs. If you want to see the picture more details, please click on the image to the twoIt is the pattern of existing constructors in java programs. This is only a small part of other progra...

Saturday, August 29, 2009

Command or task means employment that must be carried out, learn java program will discuss some of the methods used by a programmer in a command and call if she needed. In this case the method given in words or simple phrases in order to facilitate the call.The method is an order or a task that is called by the calling method, and there are methods that call himself.METHOD -> Method is a command or specific tasks are called by the calling method (CALLER) and the results returned back to the calling method.Common form or in the method declaration:return-value-type method-name (parameter-list)(declarations and statements)method declaration information*...

Friday, August 28, 2009

2-dimensional array is a continuation of the 1-dimensional array in which the 2-dimensional array is a solution to resolve the java program error that can not be done with a 1-dimensional array is.2 DIMENSIONAL ARRAY-> Lots of things that can not be solved with a 1-dimensional array. Examples: for applications such as matrix-shaped table where the table of metrics are appointed by both rows and columns in filling or taking data matrix. Thus necessary to solve the problem of 2-dimensional array.Syntax Datatype[] [] name.var [= new daattype [number of rows] [number of coloums]]; Some ways to access the array variableis a way that is used to...

Saturday, August 22, 2009

learn java program to introduce the class string buffer where the previous class are string, character and stringbuffer.class stringbuffer introduce the concept adopted in the data-data, the pointer of char from the C / C + +. Where the pointer data type is the implementation of dynamic-allocation of the use of a large number of variables if necessary, and removal of a variable if it is not required again at run-time.STRINGBUFFER CLASS -> Model second pointer is to adopt the concept of char from the C / C + +. Where the pointer data type is the implementation of dynamic-allocation of the use of a large number of variables if necessary, and...

Wednesday, August 19, 2009

introducing the next character class, character class that is handling a problem of data type character which method is used to manipulate the data.Previously, the class is diverse, but here there is only the introduction of character classes.to find out the more you can learn the class and the string class stringbuffer.CHARACTER CLASS-> character class is used to improve a programmer's ability to handle data type character. Many of the methode prepares for manipulating character data. Starting from the type of check up to make a character conversion type data into character data.Initialisation Data Charactersclass provides a character konstruktor...

Sunday, August 16, 2009

Then learn java program will continue to start Array is a variable declaration in the java program, which makes it easier for a programmer in a program.ARRAY -> Array is a solution to declare a number of variable appropriately. Use an array of variables to save time pronouncing the name variable. Array variable is a number of variables with the same name.Illustrasi Array:Index datanotes: No.Indeks / beginning No.Element number 0 (zero) and end n-1 where n = number of data.DECLARE VARIABLE ARRAYGeneral form:Data Type [] Variablename [= new datatype [number of elements]]Some way declare an array variable:1. Without mentioning some of the required...

Monday, August 10, 2009

OK .... now we will start again in learnjavaprogram. This time related to the keyword while. Keyword in the previous 2 while there are:While and Do-WhileWHILE -> the process of looping with a particular selection, where during the process of looping the loop true value will continue to run.syntaxSee above there is a (var_selection), a variable that will hold the selection in the loop when walking. During var_selection values is correct, then in block akan While the execution.The Example Program WHILEControl Structure WHILEDO-WHILE -> looping process used is at least 1 time the localization.syntaxstatement in the block Do-While dikerjakan...

Pages 61234 »
 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Macys Printable Coupons