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
What is abstract Method i want the exact definition and is there any possibility to declare class as abstract without any abstract methods in that class?If it is possible then tell me why and how?
Suppose server object is not loaded into the memory, and the client request for it , what will happen?
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'.
what is dot net framework
How to change the color of a cell or a row in a datagrid on mouse hover using javascript/.net
Define Form modules, Class modules and Standard modules
1.what is the vesition managment.
I have try to write a record in a TDQ from a fle.... what are the steps to do... can anybody plz come with a solution
Difference between HTML and DHTML?
what are all the validation we need to perform in data stage?
1. Consider the following input and generate the object code using single pass assembler. JOHN START 0 USING *,15 L 1,FIVE A 1,FOUR ST 1,TEMP FOUR DC F’4’ FIVE DC F’5’ TEMP DS ‘F END
Outline the two important features of a terminating recursion. Any ideas?
Do not use more than 3 nested IF. Use Evaluate statement in case of more IF required. Please give a detail explantion besides readability and clarity for Evaluate stmt.
what does mean and stack mean in genral programming?
Given an array of size n. It contains numbers in the range 1 to n. Each number is present at least once except for 2 numbers. Find the missing numbers.