This blog is under construction

Saturday, 19 March 2016

Introduction to Java


Here, we are going to see few key points on Java programming language and the difference between JDK, JRE and JVM.
  • Java is a high level programming language which can be used to create standalone, web, mobile or enterprise applications.
  • It was developed by James Gosling, Patrick Naughton, Chris Warth, Ed Frank, and Mike Sheridan at Sun Microsystems.
  • It was initially named as Oak.  In 1995, Oak was renamed as Java.
  • Java programming language helps us to create applications that can be run on multiple platforms without having to port the code and recompile.  In a nutshell, Java is a portable language.
  • Java is object oriented as it helps us to correlate real world object or examples to java programs
  • It is known for its robustness as it avoid drawbacks in other programming languages like pointer arithmetic or memory management etc.
  • It allows us to create multi-threaded applications where each thread can do separate task.
  • Java was initially owned by Sun Microsystems.  In 2010, Oracle acquired Sun Microsystems.


Before getting into Java tutorials, we may need to learn about JVM, JDK and JRE

What is JVM?
On compiling a Java program, we will get class file as output which consists of bytecodes. And these bytecodes are executed by java runtime system called Java Virtual Machine. It consists of class loader, security engine, bytecode verifier and garbage collector. 
  • Class loader helps to load all the class files that are needed for the program execution.
  • Security engine helps to prevent unauthorized access into the restricted area.
  • Bytecode verifier runs several test on our bytecode to find whether there is any error conditions like stack overflow, stack underflow, invalid type conversion, illegal code access etc.
  • Garbage collector takes care of cleaning the unfreed memory.

What is JRE?
Java Runtime Environment which consists of JVM and Java Application Program interfaces. In other words, its the superset of JVM and it provides environment for running a Java application or program.

What is JDK?
Java development kit provides environment for developers to develop, compile and run Java application. JDK consists of both JVM and JRE.  In other words, it is the superset of JRE.  It provides a large set of tools like complier, interpreter, Java packages, document generator etc.

36 comments:

  1. Nice article for beginners. Try to include all the modules in the Java Programming Language.

    ReplyDelete
    Replies
    1. Hello Everyone !

      USA SSN Leads/Dead Fullz available, along with Driving License/ID Number with good connectivity.

      All SSN's are Tested & Verified.

      **DETAILS IN LEADS/FULLZ**

      ->FULL NAME
      ->SSN
      ->DATE OF BIRTH
      ->DRIVING LICENSE NUMBER
      ->ADDRESS WITH ZIP
      ->PHONE NUMBER, EMAIL
      ->EMPLOYEE DETAILS

      *Price for SSN lead $2
      *You can ask for sample before any deal
      *If you buy in bulk, will give you discount
      *Sampling is just for serious buyers

      ->Hope for the long term business
      ->You can buy for your specific states too

      **Contact 24/7**

      Whatsapp > +923172721122

      Email > leads.sellers1212@gmail.com

      Telegram > @leadsupplier

      ICQ > 752822040

      Delete
  2. i got more interesting information it is very much useful too.

    baccarat
    sbobet
    สูตรบาคาร่า

    ReplyDelete
  3. Most of the mobile phones are running on android.Hawkscode is a one of the bestandroid development company

    ReplyDelete
  4. This comment has been removed by the author.

    ReplyDelete
  5. A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions.
    website: geeksforgeeks.org

    ReplyDelete
  6. A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions.
    website: geeksforgeeks.org

    ReplyDelete
  7. A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions.
    website: geeksforgeeks.org

    ReplyDelete
  8. A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions.
    website: geeksforgeeks.org

    ReplyDelete
  9. A Computer Science portal for geeks. It contains well written, well thought and well
    explained computer science and programming articles, quizzes and practice/competitive
    programming/company interview Questions.
    website: geeksforgeeks.org

    ReplyDelete
  10. A Computer Science portal for geeks. It contains well written, well thought and well
    explained computer science and programming articles, quizzes and practice/competitive
    programming/company interview Questions.
    website: geeksforgeeks.org

    ReplyDelete
  11. Nice article admin thanks for share your atricle keep share your knowledge i am waiting for your new post check mens winter jackets polo shirts kindly review and reply me

    ReplyDelete
  12. Some situation demands the recovery of Blockchain account but those Blockchain users who are not technically sharp may have to face troubles in executing the required steps. However any kind of issues may quickly be resolved taking the help of Blockchain techies. Thus call our Blockchain support number which is toll-free and you dial it anytime. Blockchain users now no need to feel disappointed as our Blockchain service. Blockchain Support NUmber For this purpose, users will be required to call our phone number which is reachable anytime as per the convenient of them.

    ReplyDelete
  13. nice post i must request you to share more article about this topics.hope you will continue it
    adelaide iphone repairs services

    ReplyDelete
  14. This is a good information.

    I found an online educational platform LearningCaff, who help to find the best training institutes in your city with your interested course. If you have interested in Java course and looking for the best java training institute in Noida, you also can find there. To find the best training institute, visit Java training in Noida.

    ReplyDelete
  15. They're delivered by the absolute best degree engineers will's identity recognized for your polo dress making. You'll discover polo Ron Lauren inside select exhibit which incorporate specific classes for men, ladies. Free Software Downloads

    ReplyDelete
  16. Hello Everyone !

    USA SSN Leads/Dead Fullz available, along with Driving License/ID Number with good connectivity.

    All SSN's are Tested & Verified.

    **DETAILS IN LEADS/FULLZ**

    ->FULL NAME
    ->SSN
    ->DATE OF BIRTH
    ->DRIVING LICENSE NUMBER
    ->ADDRESS WITH ZIP
    ->PHONE NUMBER, EMAIL
    ->EMPLOYEE DETAILS

    *Price for SSN lead $2
    *You can ask for sample before any deal
    *If you buy in bulk, will give you discount
    *Sampling is just for serious buyers

    ->Hope for the long term business
    ->You can buy for your specific states too

    **Contact 24/7**

    Whatsapp > +923172721122

    Email > leads.sellers1212@gmail.com

    Telegram > @leadsupplier

    ICQ > 752822040

    ReplyDelete
  17. Types of switches in networking

    What is Linux and why it is used?

    Thanks for sharing this wonderful article. Keep going and If you want information about computers and IT, then go and see on my blog.


    ReplyDelete
  18. **SELLING SSN+DOB FULLZ**

    CONTACT 24/7
    Telegram > @leadsupplier
    ICQ > 752822040
    Email > leads.sellers1212@gmail.com

    >>1$ each without DL/ID number
    >>2$ each with DL
    >>5$ each for premium (also included relative info)

    Price will be reduce in Bulk order

    FORMAT OF LEADS/FULLZ/PROS

    ->FULL NAME
    ->SSN
    ->DATE OF BIRTH
    ->DRIVING LICENSE NUMBER WITH EXPIRY DATE
    ->COMPLETE ADDRESS
    ->PHONE NUMBER, EMAIL, I.P ADDRESS
    ->EMPLOYMENT DETAILS
    ->REALTIONSHIP DETAILS
    ->MORTGAGE INFO
    ->BANK ACCOUNT DETAILS

    >All Leads are Spammed & Verified.
    >Fresh spammed data of USA Credit Bureau
    >Good credit Scores, 700 minimum scores
    >Invalid info found, will be replaced.
    >Payment mode BTC, ETH, LTC, PayPal, USDT & PERFECT MONEY

    ''OTHER GADGETS PROVIDING''

    >SSN+DOB Fullz
    >CC with CVV
    >Photo ID's
    >Dead Fullz
    >Carding Tutorials
    >Hacking Tutorials
    >SMTP Linux Root
    >DUMPS with pins track 1 and 2
    >Sock Tools
    >Server I.P's
    >HQ Emails with passwords

    Contact 24/7

    Email > leads.sellers1212@gmail.com
    Telegram > @leadsupplier
    ICQ > 752822040

    ReplyDelete

  19. FRESH&VALID SPAMMED USA DATABASE/FULLZ/LEADS

    ****Contact****
    *ICQ :748957107
    *Gmail :fullzvendor111@gmail.com
    *Telegram :@James307
    *Skype : Jamesvince$
    <><><><><><><>
    USA SSN FULLZ WITH ALL PERSONAL DATA+DL NUMBER
    -FULLZ FOR PUA & SBA
    -FULLZ FOR TAX REFUND
    $2 for each fullz/lead with DL num
    $1 for each SSN+DOB
    $5 for each with Premium info
    ID's Photos For any state (back & front)
    (Price can be negotiable if order in bulk)
    <><><><><><><><><><><>
    +High quality and connectivity
    +If you have any trust issue before any deal you may get few to test
    +Every leads are well checked and available 24 hours
    +Fully cooperate with clients
    +Any invalid info found will be replaced
    +Payment Method(BTC,USDT,ETH,LTC & PAYPAL)
    +Fullz available according to demand too i.e (format,specific state,specific zip code & specifc name etc..)
    <><><><><><><><><><>
    +US cc Fullz
    +(Dead Fullz)
    +(Email leads with Password)
    +(Dumps track 1 & 2 with pin and without pin)
    +Hacking & Carding Tutorials
    +Smtp Linux
    +Safe Sock
    +Server I.P's
    +HQ Emails with passwords
    <><><><><><><><>
    *Let's do a long term business with good profit
    *Contact for more details & deal

    ReplyDelete
  20. Hi! Informative and easy to understand blog you posted. Just like you I am also here to promote my online Assignment help website organically, so kindly check my website and let me know or contact our experts for online assignment help.

    ReplyDelete
  21. Nice article. Thanks for sharing. Please check out chipset ranking

    ReplyDelete
  22. Thank you for furnishing us with such helpful details. I admire it. However, I would like to guide My Assignment Services, the best assignment help company, to any student having tribulation with their Data mining assignment help . In the world today that revolves around data, extracting something meaningful out of it becomes of great importance.

    ReplyDelete
  23. Quality work is done in this article. It is a nice way to get going. I am very much pleased by your content. Now its time to avail boise airport shuttle for more information.

    ReplyDelete
  24. FRESH&VALID SPAMMED USA DATABASE/FULLZ/LEADS
    SSN PROS

    ****Contact****
    *ICQ :748957107
    *Telegram : @James307
    <><><><><><><>

    USA SSN FULLZ WITH ALL PERSONAL DATA+DL NUMBER
    -FULLZ FOR PUA-SBA-UBER-DOORDASH
    -FULLZ FOR TAX REFUND
    $2 for each fullz/lead with DL num discount for bulk order
    $1 for each SSN+DOB--discount for bulk order
    $5 for each with Premium info--(income detail,employment detail,Good credit score)
    ID's Photos For any state (back,front,selfie & ssn )
    Young age data
    Visa & Passport photos
    Any age range data available
    UK data-Canada data
    (Price can be negotiable if order in bulk)
    <><><><><><><><><><><>
    +High quality and connectivity
    +If you have any trust issue before any deal you may get few to test
    +Every leads are well checked and available 24 hours
    +Fully cooperate with clients
    +Any invalid info found will be replaced
    +Payment Method(BTC,USDT,ETH,LTC & PAYPAL)
    +Fullz available according to demand too i.e (format,specific state,specific zip code & specifc name etc..)
    <><><><><><><><><><>
    +US cc Fullz
    +(Dead Fullz)
    +(Email leads with Password)
    +(Dumps track 1 & 2 with pin and without pin)
    +Hacking & Carding Tutorials
    +Smtp Linux
    +Safe Sock
    +Server I.P's
    +HQ Emails with passwords
    <><><><><><><><>
    *Let's do a long term business with good profit
    *Contact for more details & deal

    ****Contact****
    *ICQ :748957107
    *Telegram :@James307

    ReplyDelete
  25. Looking for the best computer course in Laxmi Nagar? Look no further than BIIT Technology. With a stellar reputation and top-notch facilities, BIIT stands out as a premier destination for computer training.

    ReplyDelete