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...

What is Hash Code in Java?

Answer Posted / yeswanth reddy

public class eng {

public static void main(String[] args) throws Exception {
int i=10;
//byte[] b;
System.out.write("yeswanth".getBytes());
System.out.write(i);

String s1="shiva";

System.out.println(s1.hashCode());

}



}

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the two parts of a conditional statement?

965


What is the implementation of destroy method in java. Is it native or java code?

969


What do you mean by inner class in java? Explain

1071


Why is java architectural neutral?

1114


Does java support Operator Overloading?

1046


What are different access specifiers in java?

1021


What modifiers may be used with an inner class that is a member of an outer class in java programming?

1107


What is meant by 'bit masking' in java?

1191


What is a bufferedreader?

1098


Can we serialize static variables in java?

1098


What is a locale?

1152


What is string value?

1171


What is the use of arraylist class in java?

1084


What is public static?

1038


What is an enumeration?

1069