what is the difference between static block and static
method

Answer Posted / maruti

public static void main(string args[])
is also static method do u call this method?

Is This Answer Correct ?    33 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is core java important?

576


Explain about procedural programming language or structured programming language and its features?

550


Can we clone singleton object in java?

575


What is oop principle in java?

553


Can you achieve runtime polymorphism by data members?

593






Can we serialize arraylist in java?

548


What is get () in java?

574


What is mnemonic code?

543


What is the finalize method do?

605


What is the difference between variable declaration and variable initialization?

512


Can array grow dynamically in java?

528


Why local variables are stored in stack?

504


Does substring create a new object?

530


How many bits is a 64 bit byte?

539


Whats the difference between notify() and notifyall()?

572