Hi Guest

MobileUser

1 HomePage 1 Jobs 1 WalkIn 1Articles  

Cat Exam

 :) Latest Topic
AJAX
VB.NET
SQL Query
UDDI
CLASS
JavaScript Questions
SharePoint Interview
SilverLight
WCF
general knowledge
 ASP.NET
 :) Hot Jobs
 
 :) Latest Articles


  

 


Mention some difference between Static and Instance initializers in Java?
Question Posted on 28 Apr 2022

Home >> Java >> Java Questions >> Mention some difference between Static and Instance initializers in Java?




Mention some difference between Static and Instance initializers in Java?
Below are the difference between Static and Instance initializers in Java:-
0
0

Base of differenceStatic initializersInstance initializers
ExecutionStatic initializers are mainly executed when a class is loaded into memory.Instance initializers are mainly executed every time a new object to the class is created.
Used forStatic initializers are used to initialize class members of the class or static members.Instance initializers are used to initialize instance members of a class or non-static memebers.


 
 Input Your Comments Or suggestions(If Any)
 Name
 Email(optional)
 Comments


Other Important Questions
What are the main difference between Array and Arraylist
What is classloader in Java and name of some classloader
Different modules of the Spring framework
Difference between Object and Class
Most important 15 aspects that Java Developer should learn in year 2020






 
Top Searches:asp net questions vb net questions sql query uddl questions class javascript Questions sharepoint interview questions and concept silverlight questions and concept wcf questions beans general knowledge ajax questions
PHP | Biztalk | Testing | SAP | HR |