What are the two basic ways in which classes that can be run as threads may be defined?
No Answer is Posted For this Question
Be the First to Post Answer
How big is a boolean?
There are two classes named classa and classb. Both classes are in the same package. Can a private member of classa can be accessed by an object of classb?
What is palindrome in java?
What is a line break example?
what is method reference in java 8?
What is the difference between a window and a frame in java programming?
Can we create a constructor in abstract class?
What is structure of java heap? What is perm gen space in heap?
What is a text string?
Difference between ‘>>’ and ‘>>>’ operators in java?
How is rounding performed under integer division?
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); } }