JAVA Core JAVA Tutorials

Tutorials Shared by the Internet Community

Advertisements
  Top Tutorials     New Tutorials     Submit     Login     Register  


Found 315 Tutorials

gap line

Most Recent Tutorials


  • How to use Autoboxing and Unboxing in Java with Example

    Autoboxing is introduced in JDK 5 and allows automatic conversion of primitive to Object type. There are subtle details about auto boxing which is req
    http://javarevisited.blogspot.sg/2012/07/auto-boxing-and-unboxing-in-java-be.html
    • 27255 Hits
    • RatingTutorials RatingTutorials RatingTutorials RatingTutorials RatingTutorials Rating

  • Instance variable vs Local variable in java

    This tutorial explains about what is local and instance variables and the difference between the instance variable and local variable
    http://javaonlineguide.net/2014/05/instance-variable-vs-local-variable-in.html
    • 27055 Hits
    • RatingTutorials RatingTutorials RatingTutorials RatingTutorials RatingTutorials Rating

  • What is builder pattern in Java with real life Example

    Builder pattern in Java is used to create objects with lots of mandatory and option value. Since after 4 or 5 arguments constructor started getting ug
    http://javarevisited.blogspot.com/2012/06/builder-design-pattern-in-java-example.html
    • 27077 Hits
    • RatingTutorials RatingTutorials RatingTutorials RatingTutorials RatingTutorials Rating

  • What is UseCompressedOops option in 64 bit JVM - Java

    -XX:UseCompressedOops is a JVM command line option which is provided in 64 bit hotspot JVM. Since size of OOPS is larger in 64 bit JVM which reduces C
    http://javarevisited.blogspot.com/2012/06/what-is-xxusecompressedoops-in-64-bit.html
    • 27208 Hits
    • RatingTutorials RatingTutorials RatingTutorials RatingTutorials RatingTutorials Rating

  • What is NullPointerException in Java how to deal

    Java.lang.NullPointerException comes when we try to access any field or method on Object which is null. Its come mainly due to programming mistake and
    http://javarevisited.blogspot.sg/2012/06/common-cause-of-javalangnullpointerexce.html
    • 27089 Hits
    • RatingTutorials RatingTutorials RatingTutorials RatingTutorials RatingTutorials Rating

  • How to deal with Passwords in Java

    Worth reading for all Java developers who are involve in coding secure enterprise application and deal with sensitive data like SSN, Password and Bank
    http://javarevisited.blogspot.sg/2012/05/best-practices-while-dealing-with.html
    • 27046 Hits
    • RatingTutorials RatingTutorials RatingTutorials RatingTutorials RatingTutorials Rating

  • What is ThreadLocal in Java with Example

    ThreadLocal is another way to obtain thread safety in Java. you can share expensive object as ThreadLocal to get benefit of multi-threading with reduc
    http://javarevisited.blogspot.sg/2012/05/how-to-use-threadlocal-in-java-benefits.html
    • 27063 Hits
    • RatingTutorials RatingTutorials RatingTutorials RatingTutorials RatingTutorials Rating

  • What is .class file in Java - Fundamentals

    Class file in Java is core of Java platform independence feature. When you compile Java source file it generates number of class file based upon num
    http://javarevisited.blogspot.sg/2012/05/10-points-about-class-file-in-java.html
    • 27275 Hits
    • RatingTutorials RatingTutorials RatingTutorials RatingTutorials RatingTutorials Rating

  • Java Reflection Example - accessing private field

    One of the most powerful feature of Reflection is able to access private members. Since private is highest form of encapsulation in Java and Reflecti
    http://javarevisited.blogspot.com/2012/05/how-to-access-private-field-and-method.html
    • 27432 Hits
    • RatingTutorials RatingTutorials RatingTutorials RatingTutorials RatingTutorials Rating

  • how to use lable with break and continue in Java loops

    description of how you can use label inside nested loop along with break and continue statement in Java program. nested loop is required in many algor
    http://javarevisited.blogspot.sg/2012/05/break-continue-and-lablel-in-loop-java.html
    • 27061 Hits
    • RatingTutorials RatingTutorials RatingTutorials RatingTutorials RatingTutorials Rating

  • how to use Counting Semaphore in Java with Example

    Simple Java Program to demonstrate How to use Counting Semaphore in Java to achieve synchronization
    http://javarevisited.blogspot.sg/2012/05/counting-semaphore-example-in-java-5.html
    • 27129 Hits
    • RatingTutorials RatingTutorials RatingTutorials RatingTutorials RatingTutorials Rating

  • Difference between java vs javaw command of JDK

    what is difference between java.exe and javaw.exe. This is one question asked to one of my friend recently, well both javaw and java command comes alo
    http://javarevisited.blogspot.com/2012/04/difference-between-java-and-javaw.html
    • 27047 Hits
    • RatingTutorials RatingTutorials RatingTutorials RatingTutorials RatingTutorials Rating

  • Java program to reverse number in Java

    Simple Java program which teaches how to reverse Java program by using arithmetic operator in Java. In order to reverse digit of a number you need to
    http://javarevisited.blogspot.com/2012/04/java-program-to-reverse-number-example.html
    • 27050 Hits
    • RatingTutorials RatingTutorials RatingTutorials RatingTutorials RatingTutorials Rating

  • Java program to convert Local time to GMT in Java

    Simple Java program which demonstrate How to convert local time to any time zone in Java. this time its GMT .
    http://javarevisited.blogspot.com/2012/04/how-to-convert-local-time-to-gmt-in.html
    • 27078 Hits
    • RatingTutorials RatingTutorials RatingTutorials RatingTutorials RatingTutorials Rating

  • Interface in Java - things to remember

    interface in Java is keyword which is used to declare abstract contracts. like abstract class you can not create instance of interface instead in orde
    http://javarevisited.blogspot.com/2012/04/10-points-on-interface-in-java-with.html
    • 27170 Hits
    • RatingTutorials RatingTutorials RatingTutorials RatingTutorials RatingTutorials Rating

  • Finding Current directory from Java program

    Java programming example to find current directory from Java application. current directory is the directory from where JVM has been initialized or fr
    http://javarevisited.blogspot.com/2012/04/how-to-find-current-directory-in-java.html
    • 27034 Hits
    • RatingTutorials RatingTutorials RatingTutorials RatingTutorials RatingTutorials Rating

  • Private keyword in Java - always keep members private

    private keyword provides encapsulation in Java which is a much needed property for any loose couple and high cohesive design. This article discusses o
    http://javarevisited.blogspot.com/2012/03/private-in-java-why-should-you-always.html
    • 27165 Hits
    • RatingTutorials RatingTutorials RatingTutorials RatingTutorials RatingTutorials Rating

  • 2 example of comparing string in Java

    There are many ways to compare two strings in java. this Java program example explores four different way e.g. using ==, equals, equasIgnoreCase and C
    http://javarevisited.blogspot.com/2012/03/how-to-compare-two-string-in-java.html
    • 27042 Hits
    • RatingTutorials RatingTutorials RatingTutorials RatingTutorials RatingTutorials Rating

  • 3 ways to loop ArrayList in Java

    There are many ways to loop contents of ArrayList in Java like By using Iterator and while loop, foreach loop and looping with traditional for loop un
    http://javarevisited.blogspot.com/2012/03/how-to-loop-arraylist-in-java-code.html
    • 27037 Hits
    • RatingTutorials RatingTutorials RatingTutorials RatingTutorials RatingTutorials Rating

  • Difference between Start and run method in Java thread

    Since start() method calls run() method indirectly, programmer often ask why not directly call run method. well difference between calling run from st
    http://javarevisited.blogspot.com/2012/03/difference-between-start-and-run-method.html
    • 27179 Hits
    • RatingTutorials RatingTutorials RatingTutorials RatingTutorials RatingTutorials Rating

  • How to use SimpleDateFormat in Java

    Working with DateFormat in a multithreading environment can be tricky. The Java API documentation clearly states Date formats are not synchronized. It
    http://javarevisited.blogspot.com/2012/03/simpledateformat-in-java-is-not-thread.html
    • 27086 Hits
    • RatingTutorials RatingTutorials RatingTutorials RatingTutorials RatingTutorials Rating



Advertisements