Register | Log in | Password |

365 projects | 71 services | 215 websites | 1073 freelancers | 2755 topics | advertise


Purchase JoomlaWatch:
30 day money-back guarantee
Read more...
9 EUR lifetime license
Buy Now

15 EUR lifetime license
Buy Now
(nofollow link from sponsors page)

Login:

23.4%United States United States
15.4%India India
7.3%Russian Federation Russian Federation
7.1%Colombia Colombia
6.1%Germany Germany
5.2%United Kingdom United Kingdom
4.4%Poland Poland
3.5%Netherlands Netherlands
3.1%France France
2.9%Canada Canada

Today: 144
Yesterday: 1413
This Week: 8207
Last Week: 10267
This Month: 4847
Total: 28161

Users

Most active users today from total of 8:
mlewis, Gomjerk, swaffel, specialone, leoaraujo, hanji, Denclub, fddeltenre
About JoomlaWatch:
JoomlaWatch is popular joomla visitor tracking and live stats component. It provides several features such as spam blocking, goals tracking, charts, nightly email reports, latest visit map, interactive HTML5 traffic flow graph and many other useful functionalities, which will help you to optimize your site.
RSS Feeds:

rss Freelance
rss Projects
rss Forum
rss Resources

Home

Java Tips

Here are some of my tips and notes, that could be useful for you

Java language fundamentals

There should be at most one public class definition per source file, the filename must match the name of the public class.

keyword - a word whose meaning is defined by the programming language

true and false aren't in fact keywords, they are literal boolean values

goto and const are reserved words

identifier - is a word used by a programmer to name a variable, method, class or label. Must begin with a letter, a dollar sign or underscore

Java's four signed integral data types are: byte, short, int, long

Double and float can take on values that are bit patterns that do not represent numbers
Float.NaN, Float.NEGATIVE_INFINITY, Float.POSITIVE_INFINITY.. the same with Double

A literal is a value specified in the program source, they cannot appear on the left side of assignments.

A Java array is an ordered collection of primitives, object references or other arrays, all elements must be of the same type. To create and use an array you must follow three steps: Declaration, Construction, Ininialization. 1. int[] integers, 2. integers = new int[20]

Java array is starting with index 0.

A common mistake is to guess that importing has something to do with class loading. The fact is, that the name is brought into the source file's namespace.

import static java.awt.Color.RED; ... myColor = RED; ... Static imports eliminate the nuisance of constant interfaces.

import static measure.Scales.kilometersToMiles();

Member variable - is created when the instance is created, and exists as long the enclosing object exists. Automatic variable - is created on entry to the method. Class variable - (aka. static variable) is created when the class is loaded and is destroyed when the class is unloaded. Initial value is assigned to member variables, static variables, but not automatic variables.

When java passes an argument into a method call, a copy of the argument is actually passed.

Each process has its own stack and heap. Objects are always allocated on the heap.

Explicitly assign null into a variable when you have finished with it.

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. Class destructor method is called finalize().

It is not possible to force the garbage collection.

Importing slightly increases compilation time.

In Java all arguments are passed by value.


 

 

Comments  

 
0 #1 tarun 2007-03-08 07:22
can any body help me.how to find rss feeds for a given webpage using java
Quote
 

Add comment


Security code
Refresh


no license?

Recommended: (advertise)
Joomlawatch 1.2.17 Demo (PRO: 9/15 EUR)
Download Joomlawatch 1.2.17 (PRO: 9/15 EUR)

Rate this extension ...


Stay in touch:

New article about JoomlaWatch Live Stats feature: (link)
15 hours ago from web

Tested versions 1.2.12 FREE, 1.2.17 PRO, 1.2.18 BETA on Joomla 2.5 and older Joomla 1.5 - confirmed to work on both Joomla versions

Small installer fixes - added JoomlaWatch compatibility with Joomla 2.5

New article on JoomlaWatch Traffic Flow feature: (link) ... All features of JoomlaWatch will be documented this way.

Another minor fixes for version 1.2.17 and 1.2.18, added functionality to display only changed values in SEO report - important keyprases
2 weeks ago from web

Minor fixes for JoomlaWatch version 1.2.17 (language files), you can find the latest package in customer zone ((link)
2 weeks ago from web

If you'd like to help with testing of the latest 1.2.18 BETA with new features (Joomla/Wordpress),please add me on skype: matto3c.Thank you!
3 weeks ago from web

New article on JoomlaWatch SEO (Search Engine Optimization) report functionality - (link)

JoomlaWatch 1.2.18 is out now! Features new click heatmap feature, SEO report - how people find you on google, and many other improvements

Reorganized the menu items. Now you'll be able to easily find most requested links

JoomlaWatch 1.2.18 BETA now ready! Main features: - Heatmap integration - SEO reports - Anti-spam section visualization (link)

Fixed one issue: no unique visits recorded; PHP $_SERVER['REMOTE_ADDR'] doesn't always return remote IP address! using HTTP_X_FORWARDED_FOR

Christmas Special - 19% OFF from all licenses until 25th of December 2011

JoomlaWatch Heatmap functionality nearly done. Works with all client resolutions. Will be available in next version. (link)

Simple customer zone - (link) is now ready. Users who purchased the PRO version can now download newest version from there.

Because of the problems with payments and forwarding. We are using (link) service to deliver you the files after purchase.

Tracking Expenses from SMS android application is now published on android market :) and it's completely free !

(link) user information now protected with UserCrypt 1.1

UserCrypt version 1.1 released: Added query log, jos_users decryption on database interceptor plugin deactivation (link)

Timezone issue now fixed. Tested on canadian server which has hosting in the USA. Also module class suffix parameter now works for J1.7



Partners:
Freelance ColdFusion, Flex, PHP

Olejomalby, abstraktne obrazy

Camping Europe

WinAsm Studio

Vyšné Ružbachy

Sochy, Reštaurovanie

R.E.M.

Valid XHTML 1.0 Transitional

RSS feed:

Statistics:
Search Engine Genie Promotion Widget
Privacy policy | Advertise | Donate

Locations of visitors to this page


©2003-2010 Codegravity.com