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 important features of Java 9 release?

949


What is the default value of an object reference declared as an instance variable?

1038


Explain the difference between jvm and jre?

974


What is the base class of all classes?

983


What is array sorting in java?

990


What is return null in java?

899


Explain illegalmonitorstateexception and when it will be thrown?

1038


What is assembly condition codes?

935


What is collection class in java? List down its methods and interfaces.

897


If we don’t want some of the fields not to serialize how to do that?

956


What are static blocks in java ?

1040


Write a java program to check if a number is prime or not?

986


What is the use of math abs in java?

959


Why can't we override private static methods?

922


What are the library functions in java?

979