Is it correct to say that due to garbage collection feature in java, a java program never goes out of memory?
No Answer is Posted For this Question
Be the First to Post Answer
Can we extend singleton class in java?
What are the types of relation?
How core java/j2ee project performance can be measured ?
What is a nested list?
What’s the difference between unit, integration and functional testing?
How many statements can be created with one connection in jdbc?
What is static variable and static method?
32 Answers Accenture, Prolific, Prolifics, TCS, TNH,
How to perform linear search in java?
How does map works in java?
What is the best definition for data?
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); } }
How do you reverse sort a list in java?