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 is the base class of all classes?

1055


What are the characteristics of java?

1047


What is meant by JVM? Is JVM platform independent or not?

1068


What are decalarations?

1116


What is data structure in java?

978


What is derived datatype?

1212


What is pre increment and post increment in java?

981


Why is the main method static?

1147


what is bmg file and how to create that files?what will it contailn?

2345


Can a abstract class be declared final?

988


Why does java have two ways to create child threads? Which way is better?

1038


What is meant by main method?

1057


Is 0 an even number?

985


What are register variables what are the advantages?

896


Is void a type?

971