What is non static block in java
Answer Posted / sreenu karampudi
Non static blocks: Code within {} is non-static block
for example:
{
// code
}
| Is This Answer Correct ? | 28 Yes | 3 No |
Post New Answer View All Answers
What are untrusted applets?
Difference between class#getinstance() and new operator ?
How do you find the maximum number from an array without comparing and sorting?
Is java still relevant?
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).
Is java still necessary?
whar are the draw backs of programming lang step by step in Clang and next in C++ and next and in Java nad in .Net
Are static members inherited to sub classes?
Are maps ordered java?
Which sort is best in java?
How do you override a private method in java?
Difference between object and reference?
What is the purpose of finalization in java programming?
Give example to differentiate between call by value and call by reference.
Is alive in java?