Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

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.

5378


What do you understand by modular programming?

1144


Given an array of size n, containing every element from 1 to n+1, except one. Find the missing element.

1082


what is difference between input parameter and output parameter.

4827


what are importance in problem tracking

2109


For a binary tree with n nodes, How many nodes are there which has got both a parent and a child?

3656


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

2111


what is the difference between read the data from table and infotype

2540


code for connection from windows forms to sql server

2233


can we use commit,rollback in triggers and how?

1966


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

2466


In loading programs into memory, what is the difference between load-time dynamic linking and run-time dynamic linking?

2201


what is the purpose of checked Menu options

2447


how sap is different from other software ?

2185


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.

2044