What are the different types of garbage collectors in java?
No Answer is Posted For this Question
Be the First to Post Answer
how to identify duplicate values in arraylist
What is widening and narrowing in java? Discuss with an example.
What is the default access specifier for variables and methods of a class?
What is a short in java?
Why do we use predicate in java?
How does sublist works in java?
List some oops concepts in java?
Why to give the file name same as the public class name in java?
How will you get the platform dependent values like line separator, path separator, etc., ?
What are the methods available in a class?
import java.io.*; class Demo { public static void main(String args[]) { File f=new File("1234.msg"); String arr[]=f.list(); System.out.println(arr.length); } }
What is Generic in java? Where can we write Generic ( class or method or objects or etc...)? with simple example? Thanks, Bose.
2 Answers Infosys, Tech Mahindra,