File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java Micro Edition and the fly likes sms handling javaME Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "sms handling javaME" Watch "sms handling javaME" New topic
Author

sms handling javaME

Muhammad Naveed Ul Haq
Greenhorn

Joined: Aug 06, 2011
Posts: 3

Hello everybody!I'm new to oop and java however have a little vb expeiranc so I'm a littel awar of event driven programing, first of all I want to clear concepts of class, subrutien, and object and creating object becaus oop and event driven programing are little contradictory for me.After this I want to make a program using java ME in netbeans7 IDE to handle sms i.e. Open reply or forword it.
Walter Gabrielsen Iii
Ranch Hand

Joined: Apr 09, 2011
Posts: 158
The Class is what you type out in your code editor. In a class you can choose what data structures (primative variable types, object references, methods) the objects created from that class will have. When you run your program a class can be put into memory as one or more Objects.

An Object is, well, its own, self-contained object in memory with the internal structure of the class it is based on.

An Object is created with the new keyword and a matching constructor. Example, I create a new Object reference using Object's no argument constructor (see the constructor of ther Object class of Java ME API):

Here, the new Object has the named reference "o" which I can use to call methods inside that object, example:

A Subroutine, as you call it, is called a method in Java. A Method is where you put lines of code, when you write a class, that are suppose to run when you call that method.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: sms handling javaME