Scroll to top

Java Tutorial

Online Core Java Tutorial for beginners to learn the basic concepts of Core Java. Here you will learn the fundamentals of Core Java (Class, Interface etc.). These sections also contain cheatsheet for a quick review of what you have learned in a given topic.

Java Tutorial – Getting Started

Java Tutorial – Variables

Java Tutorial – Operator

Java Tutorial – Loop

Java Tutorial – Exception

Java Tutorial – OOPS Concept

Java Tutorial – keyword

Java Tutorial – Collection

Java Tutorial – Serialization

Java Tutorial – Enum

Core Java Tutorial – Thread

Java 8 Feature

Java 9

Java 10

Core Java Tutorial – Advance Topics

We have created a new Section of Selenium Tutorial.

196 comments

  1. Bogdan

    cool section! here’s some more:

    1) Junior java developer
    a) Basic ocjp (former scjp) questions:
    – What does static, final mean, purposes;
    – How many accesibility modifiers exist? Please describe them.
    – Why do you need a main method?
    – How many constructors can you have?
    – Define overwriting and overloading
    – Give java API implementations for overwriting and overloading
    – Describe the String class – unique properties
    – StringBuilder vs StringBuffer
    – Collections : please describe, give some examples and compare them to eachother
    – ArrayList vs Vector
    – HashMap vs HashTable
    – What’s a tree
    – What’s a map
    – Multithreading: describe the management in java
    – What’s a semaphone?
    – How many states are there for threads?
    – Describe the usage for synchronized word (2)
    – Serialization in java – a descrition and usage
    – Garbage collection in java – description and usage
    – Can you guarantee the garbage collection process?
    b) Simple design pattern questions:
    – Singleton please describe main features and coding
    – Factory please describe main features and coding
    – Have you used others? please describe them

    2) Intermediate and Senior level – depending on rate of good responses, additional questions to 1):

  2. ComputerTutorials

    Looks good. A well-written one.

  3. ANANDAN

    i need core java and j2EE full tutorial materials. can you send my email? PLEASE friends help me…..

  4. George

    i am newly learning java programming language.
    would any one please be ready to share resources and experiences with me?
    write me in my email: [email protected]

  5. Mayur

    i need core java and j2EE full tutorial materials. can you send my email? PLEASE friends help me…..

  6. Madura Sheetal

    can i get the full materials… pls pls help me..

  7. deepak kumar

    Hi,

    Please Share the interview Question for two years experience in java.

  8. Java Developer

    Hi,

    Nice site for interview question thanks.

  9. gaurav bansal

    package ka use kis work ke liye kiya jata hai ?

    • admin

      Hi Gaurav,

      Package is used for organizing classes. This is not something which is enforced by JVM or Java. But it is suggested to have classes defined in proper package coz in that case you can have unique namespace for different classes(even if class name is same.)

      e.g.
      Suppose you and your colleague is working on different modules(Sales and HR ) of the same project and you both are unware of the class name created by other. In the end you might face a situation where both of you have created class with same name(Department). This will create problem. To avoid this problem you both can use package. You can create class in your specific package(com.sales & com.hr). In this way you will avoid conflict of class name. Coz even if class name is same namespace will be unique.

      com.sales.department
      com.hr.department

      hope now you understand the use of package.

  10. ayushi

    hello sir.. i have to make a project on core java..would u plz suggest me some topics

    • Vivekanand Gautam

      Hi Ayushi,

      I don’t know what is the purpose of creating this project. But i have one project in my mind because of requirement. So i ll tell you. Try to build it and if successful let me know i might use it.

      We have team of developer where Team Lead assign a work to every one on everyday or weekly basis. and every one in the team has to report to team leader. And leader will analyses in the end what different resources has done in last week or month and generate the report accordingly which will be used in Audit purpose.

      So you will have a web application. It will have two User roles.
      1- Team Lead
      2- Developer

      Roles of Developer
      1- Can view the assigned work by team lead.
      2- Can update the work sheet
      3- Can close the work assigned which in return go back to team lead pool

      Roles assigned to TL role
      1- Can create work
      2- Can assign work created to different user(Developer)
      3- Provide the deadline for different work.
      4- Can generate the report of all work done by developer.

      System functionality.
      1- Once there is any work assigned to any developer mail should be delivered to developer.
      2- When deadline is about to read notification should also reach.
      3- Once developer mark and work as completed. Work should go into TL pool.
      4- Report should be generate in the form of DOC/ Excel

      It is the requirement below the technology stack that you can use
      1- Spring 3.1
      2- Hibernate (Data Persistence)
      3- Spring Security (Role related assignment)
      4- Apache POI (Report Generation)

      I think now i have given you enough information. If you like you can create it. If successful let me know i will glad to add it in my website.

      If you require any more input you can contact me.

      Thanks

      • Deepan Sakravarthi Ranganathan

        Can u tell me.. What r all d questions n java that clasified n simple medium nd tuff 4 interview poit of view??

  11. Brany

    Hi Gautam,
    Even i was in need of one project for my practice. I will try to implement for ur requirements. If done, i ll let you know… Hope i may take bit long time as this is my first project for which i am working for and i am sure i ll learn more if i implement it.

    Thank you….

    • Vivekanand Gautam

      Hi Brany,

      Best of luck for this project. I would love to know the progress of this project development. If you can successfully implement this do let me know so that i can add the same on website. So that others can take the help of it. You can also write an article for the same.

      Thanks

  12. Brany

    Thank u Gautam, Surely i ll let you know abt my progress… I have not yet started.. Once i start, i ll intimate you…

  13. Vikas Shukla

    Great description of topics…I have read many topics here all are very good….For knowing internal mechanism of java methods, class and objects please visitjava by vikas

  14. Vivek

    Hi,,
    I am new in coding and i want to learn Core Java & C please help me out.

    Thanks Admin

    Please do reply.

    • Vivekanand Gautam

      Hi Vivek,

      As you can see i have different topics for different section in Java. You can start learning Java by following Java article sequentially. I do not have any idea of C++ language. So i would not be able to help you in this regard.

      I would suggest you to first buy a good book for the same. Or if you want more clarity then you can refer original document of Java.

      Thanks

  15. Ankan

    Hi Gautam

    Excellent work done .Really helpful for freshers and some times for experienced people too.
    great job and keep it up.

    If possible provide some sample codes to practice with solutions.

    • Vivekanand Gautam

      Hi Ankan,

      Thanks for your nice word. I would love to add more content if time permit.
      I will take your suggestion and try to add more example.

      Thanks

  16. rahul kumar verma

    i need core java and j2EE full tutorial materials. can you send my email? PLEASE friends help me…..

  17. ijkjkjk

    you guys suck she is teaching instalation

  18. Chandra

    Hi Gautham,

    Thanks for such a nice tutorial… 🙂
    I am learning java and know core java concepts, but when it comes to write some programs,
    i am feeling difficulty…
    Please let me know the best way to feel it easy and become expert…

    Thanks in Advance

    Regards,
    Chandu

    • Vivekanand Gautam

      Hi Chandra,

      Thanks for your nice comment. If you know the basics then you should not have any problem with writting code. If you want to start coding then you should start with very basics ofcore java like prinitng any value on console. I would suggest you to download Eclipse IDE first.

      I have written different article on how to create Java Project in Eclipse. Once created you can start creating Classes and start playing with same. You can have different assignment available which you can try to solve on your own. Keep in mind that there is no hard and fast rule to learn Java. Only practice can make you perfect.
      While writting code you have specific question you can ask me personally.

      I have a paid service where i use to check the assignment and help learner write code. If you are willing to pay for this let me know.

      Thanks

  19. Chandra

    Hi Gautham,

    Thanks for very quick reply…
    Ya i am already using Eclipse IDE and doing small programs, But still feeling difficulty in writing big programs… please help me out…
    and about your paid service, please tell me the clear details like what and all contents you will cover,fee details, etc

    Thanks,
    Chandra

  20. Chandra

    Hi Gautham,

    Thanks for the quick reply… 🙂
    I am using Eclipse IDE for doing Java programs
    i know the core java concepts but progrmaming making me difficult…
    Not able to get confidence on especially Programming…

    and please tell me clear details about your paid service..
    like what and all topics you cover?? Fees??

    Thanks,
    Chandra

  21. Ashvin

    Hi Gautham Sir,

    Can you teach me core java on online? if so whats the charges ? I really want to take classes from you.

    Please email me asap with positive response.

  22. can you help me because i want to learn java lang . how can i learn java

  23. sunil

    i need core java and j2EE full tutorial materials. can you send my email? PLEASE help me…[email protected]

  24. nancyprasana

    Hi core java learned my college life. now am moving advance java. its how many module there? it is also based on the corejava concept?

  25. shakthivel

    Basic core java laering

  26. thanks for this tutorial, Please upload some JSP interview questions

  27. Rishab

    sir , i am student of class 12 and i.p is my additional subject. I am very much confused in coding specially loop statements .. can you please help me.

  28. Angad

    Started learning java..hopefully can get better documents

  29. sachin m

    core java topics required completely

  30. Shashank Srivastava

    I need core java study materials cn any send help me .Send to my mail .

  31. yns ravali

    This provides easy learning

  32. p prabhakar

    hi….. i am the core java beginner.. i want to learn core java…. is there any way to learn core java easily and perfectly so.. can u please help me…. n also want materils

    • V Gautam

      Hi Prabhakar,

      You are already on a page where you will get link to all article which will be required by you to learn Core Java. Have you visited them? And what exactly do you want?
      Also PDF file is already available which you can buy by paying 100 rs.

      What else you are looking for do let me know. I ll see if i can help you in that regard.

      Regards

  33. GAZAkenya

    I need full core java tutorials.any lead will be helpfull.

  34. sathika

    I want full core java material…plz any one send me…

  35. abhinav

    i would like to learn core java but i am not getting anything on that what i able to do,my background is ECE please suggest me something. thanks in advance

  36. Shoba

    Hi Friends,

    I am a beginner. Can any one send me the core java material. Thanks in advance.

  37. Hari

    please describe yet a some examples of collections

  38. manuprasad

    hi,
    please can you send me the java material as i am beginner.

  39. chaitanya

    excellent sir,really very helpful to thers who wants to learn java

  40. Mauya

    Hi Everyone!
    i need to re-start learning java, i haven’t practiced since 2013, i have basics in java and C++.
    anyone help me with the material for java,
    I’ll be glad

  41. Shivraj

    how to generate this pattern
    *
    * *
    * *
    * *
    *
    Any one can solve this

  42. David Roy

    Thanks for sharing this.. Its useful for java beginners to know about java and get the knowledge about how to develop it….

  43. Rajinder

    Can any one send me a project on Java on calculator using swings. I want to study it for my knowledge purpose. Or may be any other one Project.

  44. adam

    This is very useful article…easy learning..thank you

  45. robert

    thank you for this article…plz share some interview questions with short answers..

  46. AKSHAY THAKUR

    hello guys ……

    whats is diff equal() method and == in java……..!!!!!!!
    can anybody knows about it!!!
    if yes ,then kindly explain with example…..

  47. Manish Saini

    Hey there…..
    I just need help if you want to do….. _/_…..
    Waiting for your reply..

  48. omar

    thank you very much

  49. Tanvi

    Hi,

    Could you please share the procedure of setting CLASSPATH and JAVA_HOME for mac users?

  50. akshata

    Hello sir, I need core java and j2ee full notes. Plz send me..

  51. tamilarasan.p

    i need core java and j2EE full tutorial materials. can you send my email? PLEASE friends help me

  52. shoeb

    Hiii..,
    Sir
    i am bignner can you provide full core and advaced java tutorial my email.
    Plz….

  53. siva reddy

    I want core java full materials please help me

  54. amitchaurasiya

    Hiii..,
    Sir
    i am bignner can you provide full core and advaced java tutorial my email.
    Plz….

  55. sujan

    Hi sir
    Your concepts on corejava are fentastic. nice website

    Thank you.

  56. Amaka obi

    Hi..im a beginer in java programming,i really want to say u are doing a great job and making a difference in this world unknowly to you. Thanks alot and keep the good work going.

  57. Divya mahajan

    I need a home tutor who can teach me jdk java basic programming in i.c.s.e board. There are 10 chapters including array,constructors,functions etc.

  58. S.Hema

    i am beginner can u please provide core java material my email.

  59. sudha kumari

    Hai sir
    I want a full java core notes on my email

  60. Reza

    hello sir i am new in java programming i need full note of core java

  61. maddy

    Hi admin,

    I have found all the concepts of core java with detailed description of each topic. You done an amazing piece of work by providing all topics with examples.

    Looking for java tutorials in a video based format, it would be beneficial to us.

    Thanks.

  62. manjunath

    hello sir i am new in java programming i need full note of core java plz help me

  63. Aishwarya

    I want core java notes plz send….

  64. veerababu

    i want core java and angular jac meterial pls send me sir

  65. RAJESH

    i want core java complete notes send me

    • soumyajit dixit

      sir ,i am student of KIIT university bhubaneswar .i have java as a subject in our third semester.please provide me with core java notes.Thank you……..

  66. chandan

    Thanks for those notes I need something about j2EE please send Me

  67. siddharth

    Sir, plz send me notes of core java to clear OCJP.
    [email protected]

  68. ashok

    Hello sir,
    I need core java full notes.
    Could you please send me.

  69. Sinchana Devdar

    Hey sir,
    I need core Java full notes.
    Can I get them

  70. Praveen

    Hi Sir,

    I need core Java material

    Regards
    Praveen

  71. Ramjeet maurya

    Hi Sir,

    My task is to make a project on face detection .can you provide the protocol/algorithm
    Which through i can do easly…

    Thanks&Regards
    Ramjeet maurya

  72. Peter

    Thank you for full brief about java programming, I am a new beginner learning java. For me, java is new.

  73. Narendra Singhaniya

    java Head First Book

  74. Thando

    I am a begginer in java it,is so nice im loving it,day by day.

  75. sam

    Thank u
    Java Training
    Anroid Training

  76. Chandrika

    Hii sir
    I am new to java.
    I want complete core java tutorials.
    Please send me complete tutorials of core java.

  77. sachin sakhare

    good evening sir
    sir
    i am beginner pls send core java basic programs pdf file on my email id

  78. khalil chaus

    nice java tutorial

  79. Shibanee Mishra

    i ask a question , is that difference between java & core java?please clear my doubt

    • Java is a language which are divided in 3 different modules for 3 different purpose. J2SE (Core functionality), J2EE(used for Web Application) & J2ME(Used for Mobile platform development). In normal terms J2SE is known as Core java while J2EE is known as Advance Java.

  80. RISHABH KMUMAR

    sir hum java coars karna chah rahe hai hum kaise kare
    iske liye kya karna hoga humko

    • Hi Risabh,
      I think you should take help for primary java information from java teacher. It will be very difficult for you to gain basic info online. once you have that you can go through any java course on your own.

  81. patil

    i want techanical programs of java..

  82. Pann Ei

    Thank you so much

  83. jaismeet

    thank u very much , M always use to search w3 for any type of IT information .

  84. Shilpa c

    Please sir I need core java and j2ee notes,send me to this mail I’d

  85. attazia

    Thank you very much,

    Your site is good for learning Java.

  86. rafakat hussain

    dear sir, your notes are very useful for beginner thank you very much may you provide full tutorial at my email id my email id is this [email protected]

  87. asad

    This blog awesome and i learn a lot about programming from here.The best thing about this blog is that you doing from beginning to experts level.

  88. pushpa

    Hello sir ,
    can u send me full core java notes to this bellow mail id.
    please

  89. MOHAMED SUHAIB AHAMED

    Hello sir ,
    Sir can u send me whole Java materials in pdf format please……
    [email protected]

  90. ravi

    Hi ,

    I tried buying the ebook but none of my credit cards work(USA) can you post it some where else ? amazon or other sites ?

  91. yash

    nice it was helpful

  92. Praveen

    Sir,
    Please provide me the tutorial material for Core Java

  93. nedunchezhiyan

    i want a core java book .so will you send a full core java .please send my e-mail id

  94. Laxmi bawane

    Plz send me complete notes

  95. JavaLel

    Lmfao look at all these dickheads on here like: “Sir, give me full core java material to my email”

    Cheap ass low lives who continue to beg you for material you don’t have, yet they can’t shut up and go and fund their own education. What a pathetic breed of human this page attracts.

  96. rakesh

    Wow covered several topics at a single page good for interview preparation

  97. RudraS

    This is the best course I ever found

  98. Priyanka

    Nice article it is very helpful fr beginners

  99. vz

    Is there tutorial for swing and other graphics in java on this site ?

  100. Creative Solutions

    Thank you

  101. shahbaz

    very very good java tutorial

  102. venky

    Need help on a java algorithm to display all the positive odd triple digit numbers using switch statement

  103. Vinay Patel

    thank u sir for providing this

  104. mounika

    could you please send core java meterial to my mail id

  105. Logan Boyd Patel

    Thank you kind sir for providing this info.

  106. IASoldier

    Thanks for the information.
    🙂

  107. Ayush Chauhan

    how can i improve my practical skill in java, where is the practical section in this site

  108. how can i improve my practical skill ,where is the practical section in this site

  109. Udaya sree

    Please send java material to my to my mail id

  110. Akshay

    Please send me the material to my email.id([email protected])

  111. Mahesh

    Hello ,
    Can u please send me the material of Core Java,Advanced Java, Web Technologies like HTML,CSS,Jquery,Angular JS e.t.c….,
    Please send me the material to [email protected]…………..
    I will be thank U if u send me at the earliest………
    Thank You………

  112. ajay

    nice tutorial looking for webservice tutorial is it possible to add or can you please sent me an email with sources

  113. Priya

    Informative post !!! Share some more basic concepts of core java it will be helpful for all, thanks for sharing.

  114. Hi

    How to make rectangle ,cirlcle on core jav

  115. rajesh

    hi gautham iam cse student iam learning java programming i saw ur tutorial ist very much helpful for frwhers like me tqq and if possible pls share some ohter topics thanks gautham
    regards
    Rajesh

  116. Mohammed raziuddin

    Hi, looks very informative. I want to learn core java. Can you send me the material to my email. [email protected]

  117. sangitha

    it was very useful to me…

  118. Kishore

    Hi, Very nice index for java course. I would like to start learning Java. Can I have the material for first 5 chapters to begin?

    [email protected].

  119. Amanai

    Hi everyone, i request for codementor any on can help me to learn java code from the start please help me i realy need to know code. My email is [email protected]

  120. Amrita banranwal

    I just need help to pass out my interview can u please share the interview question

  121. Paridhi Bartwal

    Nice! This was a really wonderful post. Thank you for providing these details.

  122. arpit

    Nice article, this was wonderful.
    Thanks 🙂

  123. sidhartha

    Very helpful, Thank you 🙂

  124. Avinash Kumar

    Thank you very much for sharing such valuable and informative blog post about how to learn java programming language. I have read many blogs but here i found something new so great explanation keep posting.

  125. umar

    please tell why topics about jobs in java

    • Hi Umar,

      Thank you for your nice comment.
      You asked why there is topics about job in java section.
      Could you please let me know what section u are talking about.

      Regards
      Admin

  126. umar

    nice tut i learned many things

  127. Java

    information about the java training and java tutorial was very informative

Post a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.