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

write a sql qwery which include joining of two tables 4 marks mainframe

1893


How do i find out the number of parameters passed into function?

2597


shall we execute our java programmes in jre

2190


Hai, My name is nisha.I have NIC exam.If anybody Knows NIC previous paper pattern pls send me to nishanairp@gmail.com

2126


how many types of bytes are there???

2493


any drawback are there in mantis?

2087


iam confused among testing ,.net and java. can anybody help me.

1955


5. How do you round the addition or subtraction of two numbers in assembler?

2161


what is the current salary package in India for a lamp programmer

2282


4. What is the need of START 0? Instead if can we use any other numeric? If we use what will happen?

2302


Write a program to create a process in UNIX

2492


When will you use shell script/Perl ahead of C/C++?

1043


What do you understand by modular programming?

1085


Hi can you please send me recent(present) interview questions and technical qyestions with answers for "BUSSIESS OBJECTS" and "DATA WAREHOUSE".pls its urgent for me my mail id is sekhar.cs82@gmail.com,manjuforgis@gmail.com. thanks in advance

2044


1.what is the vesition managment.

2123