can we write a program with out a class in core java?
Answer Posted / navneet raushan
Yes, with the help of static block we can write a program.
static block executed first always
| Is This Answer Correct ? | 12 Yes | 5 No |
Post New Answer View All Answers
How do you sort in ascending order in java?
Which oo concept is achieved by using overloading and overriding?
What does isempty () do in java?
What is subsequence of a string?
What is the purpose of the strictfp keyword?
What is floor math?
What is meant by singleton class?
What about main thread in java?
What are JVM.JRE, J2EE, JNI?
When we should use serialization?
What is meant by class?
What happens if a try-catch-finally statement does not have a catch clause to handle an exception that is thrown within the body of the try statement?
What is the difference between public, private, protected, and friend access?
Write an algorithm program in java for the following question.. In a VLSI design techniques,they used rectangles to design circuits. EVery rectangle is to be placed according to x,y coordinates. Check whether or not two rectangles overlap each other. Here overlapping of rectangles is acceptable, if 1) one rectangle intersect with other. 2) one rectangle fully covers other. The time of algorithm should not exceed o(n logn).
What is sortedmap in java?