Skip to content
MySirG.Com

MySirG.Com

Learning Solutions…

Menu

  • Home
  • Competitive Coding
  • Premium
  • Join Coaching
  • Campus Prep.
    • Video Content
    • Interview Questions
      • Java Interview Questions
    • Objective Questions
    • Tech Talks
    • Exam Notice
  • Video Courses
    • Motivation and Guidance
    • English Speaking
    • Programming Languages
      • python
      • C Language
      • C++ Videos
      • Java SE (Core Java)
      • Advance Java | Java EE
      • PHP-MySQL
      • Kotlin
      • Javascript
    • Data Structure
    • DBMS
    • Building Career in Web Development
    • Android
    • Computer Fundamentals
    • WordPress
  • Prog. Examples
    • Python Programs
    • C Programs
    • CPP Programs
    • Data Structure Programs
    • Java Programs
    • PHP-MySQL Programs
    • Kotlin Programs
  • Webcast and LIVE
    • LIVE sessions
    • MySirG Webcast
  • Login

Java Interview Questions

What is the default value of variable in Java?

Default value of variable in java Variables declared inside a class are known as member variables (static or non static). These variables are initialized with their default value depending on the type of variable. For example variable of type int

saurabhsir September 27, 2016October 25, 2016 Java Interview Questions Read more

Why is the java main method static?

main method in java is static This is neccesary because main() is called by the JVM before any objects are made. Since it is static it can be directly invoked via the class.

saurabhsir September 26, 2016September 26, 2016 Java Interview Questions Read more

What is the difference between ArrayList and Vector in Java?

ArrayList vs Vector ArrayList Vector Not Synchronized and so not thread safe Synchronized therfore thread safe Fast in performance Slow as it is thread safe Introduced first in java version 1.2 Introduced first in java version 1.0 does not provide

saurabhsir September 23, 2016September 23, 2016 Java Interview Questions Read more

What is the difference among String, StringBuffer and StringBuilder in Java?

What is the difference among String, StringBuffer and StringBuilder in Java? String String is immutable ( once created can not be changed )object . The object created as a String is stored in the Constant String Pool . Every immutable

saurabhsir September 21, 2016September 21, 2016 Java Interview Questions Read more

What is immutable object in Java?

What is immutable object in Java? Immutable classes are Java classes whose objects can not be modified once created. Any modification in Immutable object result in new object. For example is String is immutable in Java. Mostly Immutable are also

saurabhsir September 21, 2016September 21, 2016 Java Interview Questions Read more

Quick Links

  • How to install code::blocks?

Words from students

Viewers of mysirg.com are welcome to review this website. Tell me how you good and needful this mission of teaching students for FREE in Hindi through video lectures.

Chandra Shekhar -Jaipur सर आप बहुत अच्‍छा कार्य कर रहे है मै आपके इस प्रयास से बहुत ज्‍यादा खुश हू और बहुत ज्‍यादा प्रभावित हू कि मेरे देश मे अभी भी आप जैसे अध्‍यापक हैा

Subscribe

Admission Notice

Admission Announcement
Discount offers available

Contact Us

Saurabh Shukla

Mobile: +91-9893194395
email: sshukla_manit@yahoo.com

Facebook Page: https://www.facebook.com/mysirg

Follow Me on Facebook and Twitter:

Follow @sshukla_manit

Website: www.mysirg.com

Copyright © 2025 MySirG.Com. Powered by WordPress. Theme: Spacious by ThemeGrill.
  • Mysirg Testimonials
  • About
  • About mysirg
  • About Teacher
  • Join Classroom
  • Terms and Conditions
  • Pricing
  • Refund
  • Privacy
  • Contact