JAVA Core JAVA Tutorials

Tutorials Shared by the Internet Community

Advertisements
  Top Tutorials     New Tutorials     Submit     Login     Register  


Found 319 Tutorials

gap line

Most Recent Tutorials


  • How to type cast one class to another in Java

    Type casting in Java is used to cast one class or interface to another, if they are from same type hierarchy. Type casting is an important concept to
    http://javarevisited.blogspot.com/2012/12/what-is-type-casting-in-java-class-interface-exa...
    • 30843 Hits
    • RatingTutorials RatingTutorials RatingTutorials RatingTutorials RatingTutorials Rating

  • Snakes and Ladder Game : Java source code

    This program will simulate a regular snakes and ladders game, where you will be facing the computer. You and the computer start at square 1, and the
    http://javahungry.blogspot.com/2013/04/snakes-and-ladder-game.html
    • 30953 Hits
    • RatingTutorials RatingTutorials RatingTutorials RatingTutorials RatingTutorials Rating

  • Simple Guess Number Game : Java program code to guess t

    Guess Number is a game in which user needs to guess the number between 1 and 52 (hardcoded) if you want you can make changes into the code Its a fun
    http://javahungry.blogspot.com/2013/04/guess-number-game.html
    • 30841 Hits
    • RatingTutorials RatingTutorials RatingTutorials RatingTutorials RatingTutorials Rating

  • Length of string without using java built in function

    The length of the string is easy to define for example But what happens if we dont want to use the java built in method
    http://javahungry.blogspot.com/2013/06/find-length-of-string-calculate-without-using-built...
    • 30898 Hits
    • RatingTutorials RatingTutorials RatingTutorials RatingTutorials RatingTutorials Rating

  • Java Program to get day, month, year, dayOfweek

    Simple Java program to get current month, year, date, day of month, and day of week using core java date and time API. It is not using JODA date time
    http://javarevisited.blogspot.com/2012/12/how-to-get-current-date-month-year-dayoweek-dayo...
    • 30752 Hits
    • RatingTutorials RatingTutorials RatingTutorials RatingTutorials RatingTutorials Rating

  • Java Constructor Chaining Example - Different Construct

    Java allows you to declare multiple constructor in one class file and process of calling one constructor from other is known as Constructor chaining.
    http://javarevisited.blogspot.com/2012/12/constructor-chaining-in-java-calling-another-con...
    • 30758 Hits
    • RatingTutorials RatingTutorials RatingTutorials RatingTutorials RatingTutorials Rating

  • Java Error while Setting initial and maximum Heap size

    There are lot of things can go wrong while setting initial and maximum heap size for Java application using -Xms and -Xmx command. First of them is sy
    http://javarevisited.blogspot.com/2012/12/invalid-initial-and-maximum-heap-size.html
    • 30649 Hits
    • RatingTutorials RatingTutorials RatingTutorials RatingTutorials RatingTutorials Rating

  • Difference between pass by value vs reference in Java

    There is always a debate that whether Java is pass by value or pass by reference, but before answering that question, It is important to understand di
    http://javarevisited.blogspot.com/2012/12/does-java-pass-by-value-or-pass-by-reference.html
    • 30763 Hits
    • RatingTutorials RatingTutorials RatingTutorials RatingTutorials RatingTutorials Rating

  • What is ClassLoader in Java - Bootstrap and Extension

    ClassLoader are program, which are responsible for loading class in Java virtual machine. There are three main built-in classloaders e.g. bootstrap, e
    http://javarevisited.blogspot.com/2012/12/how-classloader-works-in-java.html
    • 30713 Hits
    • RatingTutorials RatingTutorials RatingTutorials RatingTutorials RatingTutorials Rating

  • What is get and set method in Java bean POJO how to use

    Java beans or POJO (Plain old Java Object) uses private member fields and provides get and set method to retrieve and set values of them. These are kn
    http://javarevisited.blogspot.com/2012/12/getter-and-setter-method-vs-public-modifier-fiel...
    • 30864 Hits
    • RatingTutorials RatingTutorials RatingTutorials RatingTutorials RatingTutorials Rating

  • final vs finally vs finalize in java

    Though final, finally and finalize in Java may look similar by there name, they are not related to each other in any way. final keyword is a modifier,
    http://javarevisited.blogspot.com/2012/11/difference-between-final-finally-and-finalize-ja...
    • 30965 Hits
    • RatingTutorials RatingTutorials RatingTutorials RatingTutorials RatingTutorials Rating

  • When to use @Override annotation in Java

    @Override annotation is very useful annotation, which prevents lots of programming error in Java. This tutorial shows you, what is @Override annotatio
    http://javarevisited.blogspot.in/2012/11/why-use-override-annotation-in-java.html
    • 30800 Hits
    • RatingTutorials RatingTutorials RatingTutorials RatingTutorials RatingTutorials Rating

  • When to use static import in Java with example

    Static import in Java is a pretty useful feature, which allows to only import static members of a certain class e.g. static fields and static methods.
    http://javarevisited.blogspot.com/2012/10/what-is-static-import-in-java-5-example-tutorial.html
    • 30703 Hits
    • RatingTutorials RatingTutorials RatingTutorials RatingTutorials RatingTutorials Rating

  • Area of Triang in Java Program

    This tutorial shows how to calculate area of triangle in Java. In order to calculate area of triangle, first thing to know is the formula and than und
    http://javarevisited.blogspot.com/2012/10/java-program-to-calculate-area-of-triangle-examp...
    • 30639 Hits
    • RatingTutorials RatingTutorials RatingTutorials RatingTutorials RatingTutorials Rating

  • How to use notify and notifyAll method in Java

    Wait, notify and notifyAll are three mysterious method which are used for inter thread communication. mysterious, because they are difficult to unders
    http://javarevisited.blogspot.sg/2012/10/difference-between-notify-and-notifyall-java-exam...
    • 30697 Hits
    • RatingTutorials RatingTutorials RatingTutorials RatingTutorials RatingTutorials Rating

  • How to add JAR file into ClassPath in Java

    Several time we need to use external library like Struts, Spring, XML parsing library and several other in form of JAR file. In order to use them in J
    http://javarevisited.blogspot.sg/2012/10/5-ways-to-add-multiple-jar-to-classpath-java.html
    • 30865 Hits
    • RatingTutorials RatingTutorials RatingTutorials RatingTutorials RatingTutorials Rating

  • Garbage Collection Questions asked in Java Interviews

    Collection of some frequently asked, good and practical garbage collection Questions, asked in Java Interviews. These questions are immensely useful f
    http://javarevisited.blogspot.com/2012/10/10-garbage-collection-interview-question-answer.html
    • 30664 Hits
    • RatingTutorials RatingTutorials RatingTutorials RatingTutorials RatingTutorials Rating

  • How to read user imput from command prompt in Java

    First approach to write interactive programs in Java is starts with getting user input from command prompt. This article explains nice and easy way to
    http://javarevisited.blogspot.com/2012/10/java-program-to-get-input-from-user.html
    • 30675 Hits
    • RatingTutorials RatingTutorials RatingTutorials RatingTutorials RatingTutorials Rating

  • How to use Inheritance in Java with Example

    Inheritance is a Object Oriented Concept, which allows you to reuse code by extending an already tried and tested code. This article, shows What is In
    http://javarevisited.blogspot.com/2012/10/what-is-inheritance-in-java-and-oops-programming.html
    • 30671 Hits
    • RatingTutorials RatingTutorials RatingTutorials RatingTutorials RatingTutorials Rating

  • Difference between EnumMap and HashMap in Java

    EnumMap is a special Map interface implementation for Enum keys which take advantage of Enum properties to make assumption about key objects. EnumMap
    http://javarevisited.blogspot.com/2012/09/difference-between-enummap-and-hashmap-in-java-v...
    • 30729 Hits
    • RatingTutorials RatingTutorials RatingTutorials RatingTutorials RatingTutorials Rating

  • How to override toString method in Java with Examples

    toString() is one of the important method in Java programming language. This article discusses some practical tips to get most out of toString() metho
    http://javarevisited.blogspot.com/2012/09/override-tostring-method-java-tips-example-code.html
    • 30680 Hits
    • RatingTutorials RatingTutorials RatingTutorials RatingTutorials RatingTutorials Rating



Advertisements