Home  |  Login  |  Modify Tutorials  |  Add Tutorials  |  Getting Rated  |  Contact us
Search TutorialsBulletin.com Top Rated Tutorials Most Popular Tutorials Latest Added Tutorials TutorialsBulletin.com

CATEGORIES



SPONSERED



Click "Subscribe" to get notified of new Scripts under this category. 

Exception handling

Home > Java > Introduction to Java
Exceptions are Java objects; exception classes are derived from java.lang.Throwable. An exception is thrown to denote an abnormal occurrence like accessing an array index that exceeds the size of the array. Exceptions can be checked or unchecked. Subclasses of RuntimeException and Error are called unchecked exceptions. All other classes, which inherit from Exception, are checked exceptions. Any method that might throw a checked exception must either declare the exception using the throws keyword or handle the exception using a try/catch block.
Hits: 83  Date: 2005-06-07  Rate: 5.0  Vote: 1  Report Broken Link!  Rate It!

Flow control statements

Home > Java > Introduction to Java
The flow control statements allow you to conditionally execute statements, to repeatedly execute a block of statements, or to just change the sequential flow of control.
Hits: 76  Date: 2005-06-07  Rate: 0.0  Vote: 0  Report Broken Link!  Rate It!

Behavior of the garbage collector

Home > Java > Introduction to Java
A Java programmer does not have to worry about memory management, because it is automatically taken care of by the garbage collector. The Java virtual machine (JVM) decides when to run the garbage collector. The garbage collector is a low priority thread that runs periodically, releasing memory used by objects that are not needed anymore.
Hits: 73  Date: 2005-06-07  Rate: 0.0  Vote: 0  Report Broken Link!  Rate It!

Constructors

Home > Java > Introduction to Java
A constructor is used when creating an object from a class. The constructor name must match the name of the class and must not have a return type. They can be overloaded, but they are not inherited by subclasses.
Hits: 70  Date: 2005-06-07  Rate: 0.0  Vote: 0  Report Broken Link!  Rate It!

Assertions

Home > Java > Introduction to Java
An assertion is a statement containing a boolean expression that is assumed to be true when the statement is executed. The system reports an AssertionError if the expression evaluates to false.
Hits: 67  Date: 2005-06-07  Rate: 0.0  Vote: 0  Report Broken Link!  Rate It!

Package and class declarations

Home > Java > Introduction to Java
A package represents a group of classes. A package statement should be the first valid statement in the source file. If there is no package statement, the classes in the source file belong to the default unnamed package, or else they belong to the named package. Only one package statement is allowed in a source file.
Hits: 64  Date: 2005-06-07  Rate: 0.0  Vote: 0  Report Broken Link!  Rate It!

Eligibility for garbage collection

Home > Java > Introduction to Java
An object is eligible for garbage collection when no live thread can access it. An object can become eligible for garbage collection in different ways.
Hits: 63  Date: 2005-06-07  Rate: 0.0  Vote: 0  Report Broken Link!  Rate It!

Finalization

Home > Java > Introduction to Java
Java technology allows you to use the finalize() method to do the necessary cleanup before the garbage collector removes the object from memory. This method is called by the garbage collector on an object when garbage collection determines that there are no more references to the object. It is defined in the Object class, thus it is inherited by all classes. A subclass overrides the finalize() method to dispose of system resources or to perform other cleanup.
Hits: 60  Date: 2005-06-07  Rate: 0.0  Vote: 0  Report Broken Link!  Rate It!

Arrays in Java

Home > Java > Introduction to Java
This tutorial is geared toward java, but it applys to many programming languages.Arrays let you hold multiple objects. Say you want to hold a bunch of numbers, instead of having a bunch of scattered int objects, you can use an array and hold it all in an organized fashion.Arrays only let you hold one specific type of object, so you can't hold integers and Strings in one array. Also, arrays let you only hold a set limit of objects, so if you make the array have ten spots, you can only hold a max of ten objects and can never make more space. Of course you don't have to necessarily hold a object in an array spot.
Hits: 48  Date: 2006-06-07  Rate: 0.0  Vote: 0  Report Broken Link!  Rate It!

Using the Math class

Home > Java > Introduction to Java
The Math class is final and all the methods defined in the Math class are static, which means you cannot inherit from the Math class and override these methods. Also, the Math class has a private constructor, so you cannot instantiate it. The Math class has the following methods: ceil(), floor(), max(), min(), random(), abs(), round(), sin(), cos(), tan(), and sqrt().
Hits: 48  Date: 2005-06-13  Rate: 0.0  Vote: 0  Report Broken Link!  Rate It!

Pages : 1 2 3

MOST POPULAR


TOP RATED


SITEMAP

 

HOME :: LOGIN :: MODIFY TUTORIALS :: ADD TUTORIALS :: GETTING RATED :: CONTACT US

Site Designed and Hosted by PLANET WEBSOFT

Partners :  AddScript   ScriptsFinder   RhymeStore   TemplateThemes   AddScripts   VDC   DentistIndia   eBimaa
Website Scripts   Free Web Hosting   Top5 Web Hosts