If I don't provide any arguments on the command line, then what will the value stored in the string array passed into the main() method, empty or null?
No Answer is Posted For this Question
Be the First to Post Answer
different between exception and error? explaim check and uncheck exception
Explain importance of inheritance in java?
Howmany number of objects we can store in an ArrayList. Is there any limit?
State one difference between a template class and class template.
Can You Have Virtual Functions In Java?
What must a class do to implement an interface in java programming?
Is arraylist dynamic in java?
What is the difference between char and char *?
What is skeleton and stub?
What is nested loop? What is dangling else condition in it?
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); } }
Is it possible to define a method in java class but provide it’s implementation in the code of another language like c?