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 jdbc api?

1059


Define an enumeration?

1093


What do you understand by java virtual machine?

1236


is it possible to instantiate the math class?

1095


What’s the difference between constructors and other methods?

1046


Is void a data type?

990


What is the benefit of singleton pattern?

1044


Java.util.regex consists of which classes?

1040


What are drawbacks of singleton class?

1008


How many arguments can a method have java?

1065


How can you generate random numbers in java?

1096


Hi all, I am dng a mini project on FileSplitter application which splits the GBs of logfile into Smaller chunks(mbs) depending on the split size." How to handle GBs file? I am getting OutOfMemoryException, when I input such GB sized file. Thx

2178


List two java ide’s?

1095


What is floor in java?

1079


What is the difference between actual and formal parameters?

995