Is the empty set a singleton?
No Answer is Posted For this Question
Be the First to Post Answer
Why are generics used?
What is the best way to findout the time/memory consuming process?
Are registers volatile?
Explain access modifiers in java.
how to create multithreaded program? : Java thread
Can we create object of static class?
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); } }
for(i=0;i<100;i++) { int i=method();//method returns no's from 1 to 10; /* insert some stmts which can give output like no.of times numbers(1-10) returned. (for example if it returns 2 then i want output how many times 2 returned) like that i want output for no's 1 - 10 how many times each no returned. */ }
What is data movement?
Can you use abstract and final both with a method?
What is main function purpose?
What is a hashmap used for?