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
What are the important features of Java 9 release?
What is the default value of an object reference declared as an instance variable?
Explain the difference between jvm and jre?
What is the base class of all classes?
What is array sorting in java?
What is return null in java?
Explain illegalmonitorstateexception and when it will be thrown?
What is assembly condition codes?
What is collection class in java? List down its methods and interfaces.
If we don’t want some of the fields not to serialize how to do that?
What are static blocks in java ?
Write a java program to check if a number is prime or not?
What is the use of math abs in java?
Why can't we override private static methods?
What are the library functions in java?