Home Tutorialhelp Comment Nice but i have a question

 
 

Comment

imran
Nice but i have a question,
August 1, 2009 at 1:47 PM

I am a newbie to objective c (no to programming).. and passing named arguments doesn't look consistent to me... rather then declaring it like:
-(int) sum: (int) a andb: (int) b andc:(int)c;

why don't we have something like:
-(int) sum: of(int) a andb: (int) b andc:(int)c;

the addition of the name "of" in front of first argument makes the whole statement consistent for me as now all three arguments are named.
Makes sense?
View All Comments | View Tutorial
Advertisement
Related Tutorial and Articles
Java Technology Tutorials

Objective-C program with multiple parameter
Objective-C program with multiple parameter       Objective-C enables programmer to use method with multiple parameter. These parameter can be of same type or of different 

iPhone

Objective C
;    Objective-C program with multiple parameter Objective-C enables... I this section we will show you how to compile and run Objective C program... applications for Mac System and iPhone.   Objective C Hello 

Mobile Applications Questions

iPhone SDK Multiple UIButton
iPhone SDK Multiple UIButton  In my iphone SDK program.. i wanted to create multiple UIButton programatically. I know how to create button and i have...:myButton]; iPhone SDK Creating Multiple UIButton for (int row = 0; row<4 

Tutorials

iPhone Do loop in Objective c
iPhone Do loop in Objective c As you know, the concept of loop is almost same in objective c programming. So, here in this tutorial of "Do loop in Objective c... program, we have created a main function and within the main function we 

Servlets

Multiple values for a single parameter
Multiple values for a single parameter       In our program it may be that we may have... program over it. To make such a servlet which we have made one html form 

Tutorials

iPhone Loops in objective c
iPhone Loops in objective c If you have started learning Objective c, this small tutorial on "Loops in Objective c" would be helpful. In this series of loop examples, i have discussed about... Do loop in Objective c while loop 

iPhone

Objective C Hello World
Objective C Hello World       In this section I will show you how to develop Objective C Hello World program. In the next section I will show you how to compile and execute 

Java Beginners

Can I have multiple main() methods in the same class?
Can I have multiple main() methods in the same class?  Hi, Can I have multiple main() methods in the same class?   Hi, No, We cann't use multiple main() method within the same class. If we do this then the program 

iPhone

Objective C Tutorial
for Mac, iPode and iPhone. To learn Objective-C you must have prior programming... Objective C quickly and start developing applications for iPhone and Mac operating... Objective C Foundation framework Files and I/O operations Advance topics like 

Tutorials

iPhone Hello World in Objective C
iPhone Hello World in Objective C This is a very simple objective c hello world program example, in which you will learn how to make your first hello world..., World!". When we have created the application in "Foundation Tool" the application 

Tutorials

iPhone for each loop in Objective c
over an array or collection of objects. So, in this tutorial we have explained it with a small "for each loop in objective c " example. I have...iPhone For each loop in Objective c In general, for each loop is used 

Java Beginners

objective type question - Java Beginners
objective type question  Hi, Thakns for properly reply,I want to core java objective programming question plz let me url of this problem...;www.cinterviews.com is a good a url i feel for interviews 

JavaScript Questions

i have a problem to do this question...pls help me..
i have a problem to do this question...pls help me..  Write a program... reversedNumber = 0; for (int i = 0; i <= num; i...; reversedNumber = reversedNumber * 10 + r; i = 0 

JavaMail Questions

sir i,have a assignment for these question plz help me sir - JavaMail
sir i,have a assignment for these question plz help me sir  ... class hierarchy in Java. Write a test program to demonstrate polymorphism  ...; } else { String str = " "; for (int i = 0; i <= top; i++) str 

JavaMail Questions

i have problem in that program - JavaMail
i have problem in that program  1. Write a multi-threaded Java program to print all numbers below 100,000 that are both prime and fibonacci number... = pw; } public void run(){ try{ int i; for (i=1;i<10;i 

JSP Servlet Questions

A question
to execute a jsp program? I have package named package1 . This contains a class named class1. I created directory as folder "Webroot" The Webroot folder contains 2... contains "class1.class" file. The program does not execute. Please tell where 

Java Beginners

Java question
object. Your program must have a method: public static boolean craps(Random rand... method will have multiple return points depending on the what happens.... The outcome is entirely based on the outcome of the sequence of rolls. For this program 

IoC Questions

objective c in iphone
objective c in iphone  how to minimize the uiview iin window effect in iphone..... rly me soon 

IoC Questions

iphone sdk-objective c
iphone sdk-objective c  how to delete random value which is got from the random function in an array 

Java Magazine Questions

Program
Program  hey please help me ... How can write multiple choice question paper using radio button.After submit calculate marks and display our marks... application where question is being retrieved from the database and user 

Tutorials

iPhone Multiple View
iPhone Multiple View In this iphone tutorial we will show you multiple view... is changing. This is done using only one view, the application which i am using is View... is compiled it will show the first view and on that you will have button, to go 

Mobile Applications Questions

OpenGL ES For Iphone
OpenGL ES For Iphone  hello. I have no experience at all with OpenGL and just started playing around with iPhone development. From google, it seems that iphone uses a special type of opengl (openGL ES). What are the languages 

Tutorials

What is Objective c iPhone?
What is Objective c? Objective c is a standard objected oriented programming... the Objective c tutorial, you will reveal lots more about the particular.... The latest version of Objective c programming is Objective c 2.0. You can download full 

iPhone

Compiling Objective C
program on windows and Max OS x machine. Compiling Objective C program is necessary as it generates the executable program that can run. Compiling Objective C... Compiling Objective C      

Java Beginners

simple program question
simple program question  how do i get a java program to take an input from the user and have it terminate by a period and not by pressing enter 

Java Beginners

Parameter month I Report - Java Beginners
Parameter month I Report  hy, I want to ask about how to make parameter in I Report, parameter is month from date. How to view data from i report... with full source code to solve the problem and specify the technology you have used 

JavaMail Questions

i have problem in that program sir - JavaMail
i have problem in that program sir  1.Develop multi-threaded echo server and a corresponding GUI client in Java 

Java Beginners

I have need to help
I have need to help  Write a program that, for four points A, B, C and P, draws a triangle formed by ABC and a small cross showing the position of P; and displays a line of text indicating which of the following three cases 

JavaMail Questions

sir i,have a another assignment for these question plz help me sir - JavaMail
sir i,have a another assignment for these question plz help me sir  1. Design classes for Currency, Rupee, and Dollar. Write a program... serialization. Write another program to read that file, convert to Rupee 

Java Beginners

Parameter month I Report - Java Beginners
Parameter month I Report  ok, my problem now is in Report in java with I report. I want to give parameter month/year to my design in I Report. But Date format in database dd/mm/yyyy , my question how to get mm/yyyy from database 

Mobile Applications Questions

objective c is kind of
objective c is kind of  Hi, Provide me code of objective c is kind of method in objective c. I have to find if a view is kind of UIButton. Thanks   Hi, Here is code example: for(UIView *subview in [hScrollView 

HTML Questions

I have posted a number of question but no one has answered?
I have posted a number of question but no one has answered?  No one has responded for ten days now. However my first question was answered on the same day. Is there a limit to the number of questions you can ask or am I doing 

Java Beginners

multiple choice questions program
multiple choice questions program  how can i implement the program to store 10 multiple choice questions in one class to develop a oneline quiz with using java language 

Java Beginners

multiple choice questions program
multiple choice questions program  how can i implement the program to store 10 multiple choice questions in one class to develop a oneline quiz with using java language 

Servlets

Show Parameter In Servlet
parameter names into the table. The following program uses two methods, which..., then the parameter had multiple values and they are displayed in a table list. Otherwise... parameter does not exit. Html file for this program 

Mobile Applications Questions

validate email objective c
validate email objective c  how can i validate email text field in objective c? is there any method that support multiple email address separated by coma.   - (BOOL)validateEmailWithString:(NSString*)email 

Java Beginners

question
question   sir plz tell me what should i give in title box. just i want java program for the question typed in this area 

Java Beginners

question
question   sir plz tell me what should i give in title box. just i want java program for the question typed in this area 

iPhone

Why Objective C?
for Mac System and iPhone. Why we use objective c?     It has... be postponed until the program is running. Objective-C?s dynamism has two major... Why Objective C?       

iPhone

Installing iPhone SDK
program for iPhone. Moreover, the knowledge of Cocoa is also essential.... This is the iPhone Dev Center, and it offers multiple resources for the iPhone.  ... Downloading and Installing iPhone SDK?   

Mobile Applications Questions

objective c pass by value
objective c pass by value   How to pass value by reference in objective c?   - (void)parentFunction { int i = 0; [self... to be able to modify i, you would have to pass the value of the reference by doing 

JSP Servlet Questions

calculati marks for objective question set?
calculati marks for objective question set?  how to calculate marks for objective question set 

Software Services

Offshore iPhone Development
at minimal cost. We have a strong root in developing iPhone application as we have well equipped professionals who work on iPhone Application Development... have experience of Cocoa/Objective C language as well as Xcode (IDE). We use 

iPhone

Objective C on Mac
Objective C on Mac       I this section we will show you how to compile and run Objective C program on Mac machine. Compiling Objective C on Mac OS x To Compile Objective-C 

Programming Tutorials

iPhone Detail Disclosure Button
iPhone Detail Disclosure Button In iPhone based applications, detail... that it's a table view elements and you can use it in your program by calling "... "tableView cellForRowAtIndexPath:" what all you have to do is just paste 

IoC Questions

objective c
objective c  how to minimize the uiview in widow effect in iphone sdk 

Mobile Applications Questions

copy string to string objective c
copy string to string objective c  How to copy a value of NSString to another string in Objective C? I have to different views and i am will to show the NSString value in both of them. Thanks 

Mobile Applications Questions

Address book in iphone
Address book in iphone  hello.. how can we use address book in our iphone app ???   hello Nice Question first of all you have.../AddressBook.h> #import <AddressBookUI/AddressBookUI.h> and then you have 

Tutorials

NSString in objective c
NSString in objective c In this series of Iphone application development tutorials, we going to introduce you with some of the iphone basic classes and objects...that are used in objective C. NSString is one of them. Brief Introduction 

Tutorials

Iphone hello world example
sdk as provided by apple. Now here i am convincing myself that you have mac... World and save it. Here i have save my project on desktop.  After doing... project with name Hello World and i have saved it on my desktop. Ok in the project we 

iPhone

Objective C on Windows
. On windows GNU C compiler can be used to compile the Objective C program. Objective... and installed  on the windows system to compile the Objective program. GNUset... successfully installed the GNUsetp to compile and run Objective C program on your 

Java Beginners

question
question  i need a jsp program to get system ip address 

Java Beginners

question
question  i need a jsp program to list all employees on leave +mysql 

Java Beginners

question
question  i need a jsp and mysql program to display all employees on leave 

HTML Questions

question
question  hai.......... i have one doubt can i have two actions for one button. please reply me soon thanks in advance 

JSP Servlet Questions

Passing Parameter - JSP-Servlet
, there's var answer. I need to pass this parameter back into the jsp part, how should i do...Passing Parameter  Hi, it'me again. Below is the set of code that I... database but in the textbox of the webpage, i need it to show something 

Java Beginners

question
question  i need a jsp and mysql program to retrieve data from employee table and attendance table using user name and password at a time 

JavaMail Questions

i have problem in that program to my assignment sir - JavaMail
i have problem in that program to my assignment sir   Develop a programmer's editor in Java that supports syntax-highlighting, compilation support, debugging support, etc 

Java Beginners

question
question  i have a project for search engine .i have a starting trouble , from where do i start project ,please help me.when i am given a key word to search ,which must return title,summary and url and i want to capture 

JSP Interview Questions

question
question  Gud morning sir, I have asked u some question regarding jsp in saturaday for that i didnot find any answere in which u send me the some of the links.U have asked me the specify some details. There is a entity name 

PHP Questions

question
question  Sir, could you please help me to write a php program to display the contents of html registration form in a php page but i need to verify the phone number is number or not and also verify the email is valid 

Java Beginners

question
question  i need a jsp and mysql program to retrieve data from employee table and attendance table using user name and password at a time for a Sign in user 

Java Beginners

question
question  i need a jsp/html program which includes drop down menu for leave types and a button for apply leave.and need another jsp to validate types of leave and then insert in to data base using mysql 

iPhone

iPhone
iPhone 3G tips n tricks your search ends here. Smartphones have the distinct... have, no matter how small or big.   iPhone Security...; Flash on iPhone 3G The old iPhone and new iPhone 3G have 

Java Beginners

question
question  Good Morning Sir, i have two frames client and server .server have two button search and send with one text field and client have one scroll pane using java swing .If i am clicking a search button then i want 

Java Beginners

question
question  sir, i have a project. i am using a user authentication code,it will displays the user name or password is incorrect while user enter wrong user name or password.but it'll displays on url. i wan't to remove that from 

Java Beginners

question
question  good afternoon sir, i need a jsp/html program which includes drop down menu for leave types and a button for apply leave.and need another jsp to insert types of leave which is selected by the user ,in to data base 

Java Beginners

question
question  Sir, If i have a frame with two button sign in and cancell using java swing .If i am clicking a sign in button using user name and password then i want to display the new client window and if i am clicking cancell 

Java Beginners

question
question  Good morning sir, i need a jsp and mysql code to track attendance immediately,and if you have any idea about how to take absentees please send me that too 

Java Beginners

question
question  i need a simple jsp + mysql code to display all absentees.and please send,if have any option to send any notification message to user who forgot to mark attendance 

Java Beginners

question
question  Sir , i have a starting trouble to start my search engine project , please help me to start my project , please send me some relevant java codes 

Java Beginners

question
question  I have a project named demo using eclipse but while we are trying to run there is an error like type :Status report message : /demo/ description: The requested resource (/demo/) is not available. Please help me 

Struts Questions

question
question  I am doing a project using struts framework and spring jdbc .I have a issue that when data is inserted into database if we click the refresh button then the same data is again inserted in to the database.What 

Java Beginners

question
question  i need to select some details form database and that will displays on the same jsp page which is already contains some other details ,mustn't go to next page while i am clicking a link. have any option in jsp or java 

Java Beginners

question
question  i need to mark employees as half day absent who came after 10'o clock in my web project,so i need to know who are all late entry.if you have any idea using jsp and mysql please help me 

Java Beginners

question
question  SELECT username, emp_id from attendance where date='today' i couldn't get this code ,it Showing rows 0 - 3 ,but have colomn with values john 100 2011-06-28 11:59:36 i don't know what is the actual problem.please 

Java Beginners

question
question  good afternoon sir, i have a project in jsp which contains attendance marking.i could mark present successfully but i want to list absentees.i need a jsp code to insert absent,half day leave in to data base while user 

Java Beginners

question
question  i have a jsp project ATS-HR ,i am using eclipse for back end .but while i am trying to run,the following error has occured **type :Status.../) is not available.** how tdo i solve this.please help me to run my project please give 

Java Beginners

question
question  Sir, i am developing a video streaming PC server to j2me client system that the j2me player can playing video from PC server .if have any code for video streaming then send to my email address as soon as possible 

Java Beginners

question
question  if you have any idea about automatic updation in mysql + jsp.i wrote a code for retrieving attendance.but i don't know how to display absentees.for example,assume that one employee is forgot to mark attendance 

Java Beginners

question
question  I have a project named demo using eclipse with ApacheTocatv7 but while we are trying to run there is an error like type :Status report message : /demo/ description: The requested resource (/demo/) is not available 

Java Beginners

question
()' what is the wrong in this ,it returned zero rows but have row like : leave... table. i wan't to list employees on leave in current date.please help me,send me 

Java Beginners

question
()' but have one row in leavetable like- Leave(L) 100 John 2011-06-28 i 

Java Beginners

question
()' but have one row in leavetable like- Leave(L) 100 John 2011-06-28 i 

Java Beginners

question
question  Sir, If i have a frame with one text field and one button search using java swing .If i am clicking a search button then i want to display the file chooser and i want to display the selected file on the text field 

Java Beginners

question
question  Sir, If i have a frame with one text field and two button search and send using java swing .If i am clicking a search button then i want to display the file chooser and i want to display the selected file on the text 

Java Beginners

question
question  following is my code to sent mail but i couldn't work with eclipse ,that have some errors .need i any set up in eclipse or tell to what can i do to work code properly. <%@ page import="java.io." import="java.lang. 

Java Beginners

Renaming multiple files
Renaming multiple files  Hi, I have number of files in a directory...$.mp4. .... Now I wanted to rename these files as: 1RohitBBorse.mp4, 2RohitBBorse.mp4, 3_RohitBBorse.mp4, .... Please suggest me through java program how I can 

Mobile Applications Questions

multiple language support iPhone
multiple language support iPhone  Is it possible to create an application in iPhone that can support multiple languages.   Yes, iPhone/iPad applications support the multi language applications. To create your iPhone 

Java Interview Questions

question
It's very urgent I have interviews , please send me as soon as possible.   ... i=0;i<25;i++){ System.out.print("Enter Name...;(); Scanner input=new Scanner(System.in); for(int i=0;i<5;i 

Mobile Applications Questions

How to Create Quiz Application using iPhone
How to Create Quiz Application using iPhone  Hi, I am learning iphone application Programming Language. my question is that how to create a quiz application using iPhone. Please provide online reference to study and example 

Mobile Applications Questions

The app was not installed on iphone because its resources have been modified
The app was not installed on iphone because its resources have been modified  Hi, I am getting following error while my client is installing my AdHoc build on his iPhone: "The app was not installed on iphone because its 

Mobile Applications Questions

iphone
iphone  hello... i want to make first iphone application . How can i make it plz help me 

Mobile Applications Questions

iphone
iphone  how to play sound in alarm made by ekevent class in objective

Java Beginners

how to make multiple rectangles
how to make multiple rectangles  I,m a beginner , m sorry if the question is really simple i have an array list.I want to print the contents..."); classlist.add("card"); classlist.add("yes"); for(int i=0;i<=classlist.size();i 

JavaScript Questions

multiple dropdown issue
, var dropdowns for corresponding dropdowns. now I have created one array...multiple dropdown issue  This is Venkat from Hyderabad,India.Working... valuable suggestions.. Technologies I used are Java, J2ee, jsp,Servlets, Javascript 

Hibernate Questions

Hibernate joining multiple tables
Hibernate joining multiple tables  In join sample program, what do we... JOIN Thanks   Hai, The query you have given was the plain old sql query, the query i have given was HQL query. **Product p inner join p.dealer 

Programming Tutorials

Date Class with multiple numeric parameter constructor
.style1 { font-size: medium; } Date class with multiple numeric parameters to the Date() constructor example:- In this example we have created Date class object and pass multiple numeric parameters as  the year, month 

iPhone

Objective-C keywords
Objective-C keywords       Here in this section we will know about the keywords used in objective-C language. Objective-C is a superset of C language, so program written in c 

Mobile Applications Questions

creating dynamic buttons in iphone
creating dynamic buttons in iphone  i Have a UIView and i wanted to create a multiple buttons to that should come on view load. It will be great...)mButtonclick{ UGFloat p=120; for(int i=0;i<3;i++){ UIButton *aa 

Advertisements Advertisements
 

 

 

DMCA.com