Java Guru

Java Guru Hello Friends,here you will get java interviews question & some information about java.....

Java is a programming language originally developed by James Gosling at Sun Microsystems (which has since merged into Oracle Corporation) and released in 1995 as a core component of Sun Microsystems' Java platform. The language derives much of its syntax from C and C++ but has a simpler object model and fewer low-level facilities. Java applications are typically compiled to bytecode (class file) t

hat can run on any Java Virtual Machine (JVM) regardless of computer architecture. Java is a general-purpose, concurrent, class-based, object-oriented language that is specifically designed to have as few implementation dependencies as possible. It is intended to let application developers "write once, run anywhere" (WORA), meaning that code that runs on one platform does not need to be recompiled to run on another. Java is currently one of the most popular programming languages in use, particularly for client-server web applications, with a reported 10 million users.[9][10]

The original and reference implementation Java compilers, virtual machines, and class libraries were developed by Sun from 1995. As of May 2007, in compliance with the specifications of the Java Community Process, Sun relicensed most of its Java technologies under the GNU General Public License. Others have also developed alternative implementations of these Sun technologies, such as the GNU Compiler for Java and GNU Classpath.

16/10/2015

30 Eclipse keyboard shortcut for Java programmers which can improve speed and productivity. Eclipse shortcuts for finding classes, methods, debugging, navigation, javadoc and coding.

http://www.amazon.com/exec/obidos/ASIN/007163360X/jr_bunk-20
20/06/2012

http://www.amazon.com/exec/obidos/ASIN/007163360X/jr_bunk-20

Develop, Compile, and Debug High-Performance Java Applications Take your Java skills to the next level using the expert programming techniques contained in this Oracle Press guide. Featuring real-world code samples and detailed instructions, Java Programming demonstrates how to...

20/06/2012

import java.util.*;
class Dog
{
public Dog(String n){name=n;}
public String name;
public boolean equals(Object o)
{
if((o instanceof Dog) &&(((Dog)o).name==name)){

return true;}
else{ return false;
}
}

public int hashCode(){return name.length();}
}
class Cat
{
}

enum Pets{DOG,CAT,HORSE}

class MapTest
{
public static void main(String[] args)
{
Mapm=new HashMap();
m.put("k1",new Dog("aiko"));
m.put("k2",Pets.DOG);
m.put(Pets.CAT,"CAT KEY");
Dog d1=new Dog("clover");
m.put(d1,"Dog key");
m.put(new Cat(),"Cat Key");
System.out.println(m.get("k1"));
System.out.println(m.get("k2"));
Pets p=Pets.CAT;
System.out.println(m.get(p));
System.out.println(m.get(d1));
System.out.println(m.get(new Cat()));
System.out.println(m.size());
d1.name="magnolia";
System.out.println(m.get(d1));
d1.name="clover";
System.out.println(m.get(new Dog("clover")));
d1.name="arthur";
System.out.println(m.get(new Dog("clover")));

}
}

20/06/2012

Learn JAVA programming language

01/06/2012

http://stackoverflow.com/questions/3835525/simple-java-exception-question

Hey, This is just a simple exercise from class that I decided to have a go at putting an exception in. According to the book input for this problem is supposed to be in the following format: APRIL 19, 2009 What I'm trying to do with my exception is make sure the user(whoever grades it) follows those...

Address

Pune

Website

Alerts

Be the first to know and let us send you an email when Java Guru posts news and promotions. Your email address will not be used for any other purpose, and you can unsubscribe at any time.

Share