Results 1 to 4 of 4
- 11-03-2010, 06:41 PM #1
Member
- Join Date
- Oct 2010
- Posts
- 12
- Rep Power
- 0
- 11-03-2010, 06:44 PM #2
When you declare the method/procedure, you do something like this:
From another method, you can call this:Java Code:public void thisIsAMethod() { //Some code }
(This is also called invoking, if you want to know some other terms used.)Java Code:someClass.thisIsAMethod();
- 11-04-2010, 10:52 AM #3
Member
- Join Date
- Oct 2010
- Posts
- 12
- Rep Power
- 0
oh okay thanks, do you think this analogy makes sense? : declaring a method is like mixing flour and eggs to make a cake for a TV show, and calling a method is like saying "here is one i made earlier" and taking out an old mix that has already been made.
its just i find it much easier to learn and explain this stuff if it has nothing to do with programs as suck but is more like a real life situation.
- 11-04-2010, 11:04 AM #4
Senior Member
- Join Date
- Jun 2008
- Posts
- 2,366
- Rep Power
- 8
Similar Threads
-
Call Oracle procedure
By take5 in forum JDBCReplies: 0Last Post: 06-01-2010, 10:18 AM -
call a pl/sql procedure through a jsp page
By mudit222 in forum JavaServer Pages (JSP) and JSTLReplies: 0Last Post: 04-20-2010, 08:02 PM -
How to call Oracle stored procedure from Java?
By parag_narkhede in forum New To JavaReplies: 4Last Post: 10-07-2009, 07:50 AM -
Duplicate XML decleration
By gyl2009 in forum XMLReplies: 0Last Post: 03-11-2009, 05:13 PM -
HELP: decleration and intialization in loops?
By rjuyal in forum New To JavaReplies: 10Last Post: 04-08-2008, 08:24 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks