Win a copy of Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques this week in the Server-Side JavaScript and NodeJS forum!

sasidandi

Greenhorn
+ Follow
since Jul 01, 2000
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by sasidandi

hi anil,
sent me the tutorial to sasidandi@123india.com ,which is my email address.
sasi
Hi,
I would like to know whether there is any third party debuggers available . I downloaded Forte for Java from sun website hoping that the debugger coming with will be comfortable to work with but Forte for java is very slow and i couldn't work with it. is there any other debuggers available.
thanx.
rgds,
sasi
21 years ago
Hi Ripath,
This is from JLS( Java Language Specification). i.e. the rules set by the developers of the language for how to name an Identifier where Identifier is the name given to the variables,classnames and methods
An identifier is an unlimited-length sequence of Java letters and Java digits, the first of which must be a Java letter. An identifier cannot have the same spelling (Unicode character sequence) as a keyword (�3.9), boolean literal (�3.10.3), or the null literal (�3.10.7).
Identifier:
IdentifierChars but not a Keyword or BooleanLiteral or NullLiteral
IdentifierChars:
JavaLetter
IdentifierChars JavaLetterOrDigit
JavaLetter:
any Unicode character that is a Java letter (see below)
JavaLetterOrDigit:
any Unicode character that is a Java letter-or-digit (see below)
Letters and digits may be drawn from the entire Unicode character set, which supports most writing scripts in use in the world today, including the large sets for Chinese, Japanese, and Korean. This allows programmers to use identifiers in their programs that are written in their native languages.
A "Java letter" is a character for which the method Character.isJavaIdentifierStart returns true. A "Java letter-or-digit" is a character for which the method Character.isJavaIdentifierPart returns true.
The Java letters include uppercase and lowercase ASCII Latin letters A-Z (\u0041-\u005a), and a-z (\u0061-\u007a), and, for historical reasons, the ASCII underscore (_, or \u005f) and dollar sign ($, or \u0024). The $ character should be used only in mechanically generated source code or, rarely, to access preexisting names on legacy systems.
The "Java digits" include the ASCII digits 0-9 (\u0030-\u0039).
Two identifiers are the same only if they are identical, that is, have the same Unicode character for each letter or digit.
Identifiers that have the same external appearance may yet be different. For example, the identifiers consisting of the single letters LATIN CAPITAL LETTER A (A, \u0041), LATIN SMALL LETTER A (a, \u0061), GREEK CAPITAL LETTER ALPHA (A, \u0391), and CYRILLIC SMALL LETTER A (a, \u0430) are all different.
Unicode composite characters are different from the decomposed characters. For example, a LATIN CAPITAL LETTER A ACUTE (�, \u00c1) could be considered to be the same as a LATIN CAPITAL LETTER A (A, \u0041) immediately followed by a NON-SPACING ACUTE (�, \u0301) when sorting, but these are different in identifiers. See The Unicode Standard, Volume 1, pages 412ff for details about decomposition, and see pages 626-627 of that work for details about sorting.
Examples of identifiers are:
String i3 MAX_VALUEisLetterOrDigit
hope this clears ur doubt
21 years ago
hi Marilyn,
i agree with u ,it is not possible to run the garbage collector AT A GIVEN TIME. but it is possible to run garbage collector before the VM does it in its own.
i agree with u too Sahir. what i meant was when an object no longer has an reference in any part of the program the it can be garbage collected.
sasidandi
21 years ago
Ahmed Nasir,
The runtime system keeps track of the memory that is allocated and is able to determine whether that memory is still useable. This work is usually done in the background by a low-priority thread that is referred to as the garbage collector. When the garbage collector finds memory that is no longer accessible from any live thread, it takes steps to release it back into the heap for re-use
1. it is possible for a program to free memory at any given time by running garbage collector. the methods used are System.gc() and Runtime.gc().
2.garbage collector cannot ensure that a program runs out of memory.
3.it is possible for program to make an object available for garbage collection by assigning a null value to the object reference.
4.and the last condition is also true
21 years ago
there is also this book which may be useful for getting certified.
Java 2 Exam Cram, Exam Cram Ser. by Brogdon, Bill
This small book is really a good book which has all the important points to know for the SCJP2 Exam in a concentrated form. I used this book as a supplement to R&H book.
ans also check this link which is very useful: www.javaranch.com/maha
21 years ago
HI ajith!!
thank u for answering my question. I wish u all success
regards
sasi
Hi everyone!
I would like to know which are the sites provide mock test for Java Programming.
what is meant by hash code? Advanced thanks for clearing my doubts
Sasi
21 years ago