What is set string?
No Answer is Posted For this Question
Be the First to Post Answer
What is persistence ?
What is a functional interface?
Write a java program to count the number of words present in a string?
How to set the permissions to a file in java?
Can inner class be public in java?
what is the life cycle of jsp?
Where are the card layouts used?
what is the purpose of using rmisecuritymanager in rmi?
how many design pattern r there? and wht design pattern u use and why ?
What is the difference between and ?
I declared main() method as private. But it still running and displaying the output. Please Answer it . Code Snippet as Below: import java.io.*; class over { private static void main(String[] args) { int high = Integer.MAX_VALUE; int overflow = high + 1; int low = Integer.MIN_VALUE; int underflow = low - 1; System.out.println(high + "\n" +overflow +"\n"+ low +"\n"+underflow); //System.out.println(overflow); //System.out.println(low); //System.out.println(underflow); } }
Can we add two byte variables and assign the result to a byte variable ? b=b1+b2 where b,b1,b2 are byte types