In Java what is the difference between following two statements ?
int a[],b;
int []a,b;
Answer Posted / parshad.doshi
Here First statement indicates that a is an array of type int and b is a simple integer type variable.
Second statement says that whatever follows by [] will be treated as an array. So a and b is declared as an array of type int.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
hai i am prasanna.I am MCA 2009 fresher.tell me about certifications.which certification helps me to improve my carrier and to get a technically oriented job ,which certification helps to get job faster.
what is the system development cycle
Definition of Singleton Class? what is the Purpose of it? what is the advantage?
1.how to deploy the Maven application in weblogic server? 2.In Real time projects all classes are singleton or some classes only singleton explain? 3.what are the major uses of the designpatterns? 4.explain restful &Soap based services explain?
In JCl , we have COND parameter.This holds comparison code and condition.It also has only and even parameters. ex: COND((4,GE),EVEN).what the comma mean here. is that 'and' or 'or'.
Describe the difference between Interface-oriented, Object-oriented and Aspect-oriented programming
what is the difference between uservariables and systemvariables (in Environmental variables)???
what are the topics choosen for jam round for interviews
what is the difference between an OS(operating system) and Framework?
Hello Experts, What is the difference between move and move corresponding exactly? please post me asap
why we need to take u?
THE CHANNEL IN DATA COMMUNICATION CAN BE?
kindly send interview materials
what is web configuration file
what is web service in java? have u use before.