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
I HAVE DONE TESTING TOOLS COURSE,NOW I AM FRESHER,I AM NOT GETTING ANY CALLS,I WANT TO DO THE PROJECT ,WHERE I HAVE TO MEET TO DO THE PROJECT,I AM GOING WITH FAKE EXPERIENCE,SO WHAT I HAVE TO DO.
What do you understand by modular programming?
Given an array of size n, containing every element from 1 to n+1, except one. Find the missing element.
what is difference between input parameter and output parameter.
what are importance in problem tracking
For a binary tree with n nodes, How many nodes are there which has got both a parent and a child?
THERE ARE 4 SOURCE FILES WHICH CONTAINS SAME METADATA CREATE A TARGET THAT SHOULD DISPLAY THE FILE NAME ALONG WITH THE RECORD PLEASE SEND THE ANSWERFOR THIS QUESTION WITH MAPPING
what is the difference between read the data from table and infotype
code for connection from windows forms to sql server
can we use commit,rollback in triggers and how?
How to connect to ms word wit VB ojective is to prepare s/w to generate question paper , selects questions randomly from the ms access , database
In loading programs into memory, what is the difference between load-time dynamic linking and run-time dynamic linking?
what is the purpose of checked Menu options
how sap is different from other software ?
I want sample papers for NIC Examination. Plz send them to my mail Id das.neelam@gmail.com . Plz send it today, tomorrow i've the exam.