Tags » Java Tutorial

First Java Video On My Channel: codebyjosh on Youtube

Below, I have attached a link to the first Youtube video about Java on my channel. I hope some you find it interesting and useful. Check back  in the next couple of days for a post about more of my programming adventures. 44 more words


Why There Is Interface Pollution in Java 8

I was reading this interesting post about The Dark Side of Java 8. In it, Lukas Eder, the author, mentions how bad it is that in the JDK 8 the types are not simply called functions. 1,836 more words


javarevisited reblogged this on Java Prorgram Examples and commented:

An excellent Java 8 tutorial on How Oracle fared with implementation of Lambda expression :

Java Generic

Java Generic :

A parameterized type that operates by a class or an interface is called generic. It is introduced in java-5. It facilitate to write algo which is independent from any specific data type and type safety. 132 more words


vector collection in java

package com.pkjavacode.com;

import java.util.Iterator;
import java.util.List;
import java.util.Vector;

public class VectorExample {
public static void main(String args[]) {
List<String> list = new Vector<String>();
Iterator<String> itr = list.iterator();
while (itr.hasNext()) {
Object element = (Object) itr.next();
System.out.println("" + element);

… 7 more words

What is IS-A and HAS-A relationship in java

IS-A and HAS-A relationship in java :

IS-A relationship :

IS-A relationship is based on class inheritance or interface implementation. You can say that “this thing is a type of that… 132 more words


Enumeration or enums in java

Enumeration or enums :

Enumeration is just like a list which contains only constant type value. The items in the enumerated list are called enums. 332 more words

Core Java

Advantages of Hibernate Framework

Advantages of  Hibernate Framework :

  • Hibernate has capability to generate primary keys automatically while storing the records into database.
  • Hibernate provide automatic table creation facility.
  • 163 more words