Java Programming Guide for beginners. Read, Ask and Discuss your queries related to programming in java.
See all
Members (5,718)
Programming in Java's profile photo
! ' Anna Strelkova's profile photo
! 'AAltamir Farias (altamir)'s profile photo
Abdul Aziz M.Abdul Majid's profile photo
17DaMaria's profile photo
Abdellah Ben's profile photo
Abdul Najib's profile photo
Abderrahmane khallal's profile photo
Abdellah laraj's profile photo
Abdallah Omar's profile photo
Abdelkrim Benaam's profile photo
A Anand's profile photo
a liar a thief's profile photo
ABDELJALIL TIMMI's profile photo
A.K.M Ariful Islam Shimul's profile photo
ABDELHAK IA's profile photo
Abderrhmen Mtibaa's profile photo
Aashish Sharma's profile photo
aakash kumar pinjani's profile photo
Abdourazak Osmanov's profile photo
abb king's profile photo
Aaron Salsman's profile photo
Aaron Schneider's profile photo
Abarna Rajasekar's profile photo

Stream

Join this community to post or comment
 
Here's my cringe worthy parody of "Don't Stop Believin'" by Journey to inspire fellow beginning Java programmers everywhere! LOL


{
//Alternative beginning #1
Just another Java app
It's got a List, a Set and a Map
These data structures can take you anywhere

If there is an order to peck
You will want to include a Deque
It's got what you need to go anywhere
} else {
//Alternate beginning #2
A single package is where it all starts
Various classes will make up all of its parts
You truly need 'em to go anywhere

Make sure code blocks end with a brace
Add a switch block so you can make your case
These are the statements that will take you anywhere
}

You say you want to build an MVP
Need to do it with Agility
Spend a while so you can prototype
It goes on and on and on and on

Members, methods
Object inheritance and Threads
Don't shadow variables, it ain't right

Semi colons, braces
Abstract classes and interfaces
int char double float and byte

Don't stop developin'
OOP's got Polymorphism
Abstraction and Encapsulation oh ah oh
1
Add a comment...

Valmik Pujara

Java Basics  - 
 
This is 1st part of the Java Serialization and Deserialization with simple example....
1
Add a comment...

Javin Paul

Java Basics  - 
 
 
Top 10 Java 8 Tutorials to Learn and Master quickly
It's more than a year now since Java 8 has been released and I am still receiving lots of emails about good Java 8 tutorials. To help my fellow programmers, I have compiled some of the best Java 8 tutorials available at the moment. My huge thanks to all authors for their contribution towards Java community, and I hope many Java programmers will benefit by reading these tutorials.
My Collection of some of the best Java 8 tutorials from Web, Learn Java 8 by following these tutorials.
http://java67.blogspot.com/2014/09/top-10-java-8-tutorials-best-of-lot.html #Java   #Programming  
4 comments on original post
1
Add a comment...

Javin Paul

Java Basics  - 
 
 
How to format Date in Java?
Java provides rich API to format date in Java in various standard format e.g. dd-MM-YY or MM-dd-YY or four digit year format e.g. MM-dd-YYYY. You can also include timezone e.g. IST or +0530 along with date using z and Z format option. This Java article explains some keys things about formatting date in Java.
http://java67.blogspot.com/2013/01/how-to-format-date-in-java-simpledateformat-example.html #java   #programming  
View original post
1
Add a comment...

Pardeep Kumar

Java Basics  - 
 
 
UncaughtExceptionHandler in Java
UncaughtExceptionHandler is interface for handlers invoked when a Thread abruptly terminates due to an uncaught exception. Basically, this is a mechanism to catch and treat the unchecked exception thrown in a thread object that what we are going to see in t...
UncaughtExceptionHandler is interface for handlers invoked when a Thread abruptly terminates due to an uncaught exception. Basically, this is a mechanism to catch and treat the unchecked exception thrown in a thread object th...
View original post
1
Add a comment...

Ram N

Java Basics  - 
 
Java : Collection Framework : Enumeration j
1
1
Alexander Tyshchenko's profile photo
Add a comment...

venkat reddy

Discussion  - 
1
Add a comment...

Merit Campus

Java Basics  - 
 
Merit Campus originally shared:
 
How to Become a Good Programmer? Click to Know.
Java Topic / Java tutorial Learning a computer language is very easy compared to writing good programs and using the language effectively. For a beginner, it might take 4-5 months to learn a new language where as perfecting the programming skills including the design, debugging and maintenance might take more than 3 to 4 years.
1
Add a comment...

Ram N

Java Basics  - 
 
Java : Collection Framework : Hashtable (entryset)
1
Add a comment...

About this community

This community is intended to serve as a guide to the beginners in Java programming. Read through discussions, post new queries related to java programming, share your innovative project ideas, project codes and tutorials. Share tips and tricks with the community, build your links in the community and grow your java programming skills with the community.

JALDA ADITHYA

Discussion  - 
 
hey guys ...how to set classpath for ojdbc14.jar in ubuntu....plz tell me
1
JALDA ADITHYA's profile photo
 
+Idriss BELLIL yeah thank you 
Add a comment...

TalkIT

Java Basics  - 
 
Learn Java from basics and then move to more advanced concepts.
http://www.talk-it.biz/java-marketing-page/ #java #coding
6
1
Anastasiya Martynyak's profile photo
Add a comment...
 
 
Parsing Large JSON Files using Jackson Streaming API Example
In last couple of JSON tutorials for Java programmers, we have learned how to parse JSON using JSON-Simple library, parsing JSON array to Java array using GSon, and in this tutorial we will learn how to parse a large JSON file in Java using Jackson's Stream...
In last couple of JSON tutorials for Java programmers, we have learned how to parse JSON using JSON-Simple library, parsing JSON array to Java array using GSon, and in this tutorial we will learn how to parse a large JSON file in Java using Jackson's Streaming API. Jackson is one of the most ...
View original post
3
1
Jimmi p's profile photoMirko Sardo's profile photo
Jimmi p
 
One if the good tool for json is http://codebeautify.org/jsonviewer
Add a comment...

Bilal Ahmed

Java Basics  - 
 
import java.sql.*;
public class OdbcAccessQuery {
public static void main(String [] args) {
Connection con = null;
try {
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con = DriverManager.getConnection("jdbc:odbc:personDSN");
Statement sta = con.createStatement();
// getting the data back
ResultSet res = sta.executeQuery("SELECT * FROM Person");
System.out.println("List of Addresses: "+res); 
while (res.next()) {
System.out.println(" "+ res.getString ("Name") + ", "+res.getString("address") + ", "+res.getString("Phno"));
}
res.close();
sta.close();
con.close(); 
} catch (Exception e) {
System.err.println("Exception: "+e.getMessage());
}
}
}
___________________________________
when i run this .., it give me the following exception
Exception: [Microsoft][ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist or access denied.
how to solve this problem

______________________________________
em using eclipse and jdk 1.7 and created database with MS Access
1
Add a comment...

Javin Paul

Discussion  - 
 
 
Time to revise fundamentals : When to make a method static in Java?
Don't say NEVER, as there are places where you need to make the method static :). BTW,  making a method static is always puzzling for beginners in Java, let's learn when to make a method static in Java. http://javarevisited.blogspot.com/2013/07/when-to-make-method-static-in-java.html #Java   #Programming  
View original post
1
Add a comment...

Javin Paul

Discussion  - 
 
 
10 Books Every Programmer Should Read
There is saying that if you learn from your mistakes, you will only going to learn few things, but if you learn from other's mistake, you can learn lot of things in short time, and what could be better way to learn from someone's experience then reading boo...
View original post
1
Add a comment...

Javin Paul

Discussion  - 
 
 
Difference between save(), persist() and saveOrUpdate() in Hibernate
Difference between save and persist or saveOrUpdate and persist is a common Hibernate Interview questions. this article explores main differences between them e.g.  persist method return type is void while save method return a Serializable object.
http://javarevisited.blogspot.com/2012/09/difference-hibernate-save-vs-persist-and-saveOrUpdate.html
#Java   #Hibernate  
View original post
5
1
Nathan Anterhaus's profile photo
Add a comment...
 
Q) Sharing of common information is achieved by the concept of ?(In Java) ‪ #java   #todayquestion   #tutsschool  
[A] polymorphism
[B] encapsulation
[C] inheritance
[D] none of above
2
Oscar Andres Zapata Rivera's profile photoKhushboo Kumari's profile photo
3 comments
 
C
Add a comment...

Programming Fun

Java Basics  - 
 
Q)Which of these methods must be made static(Java)?   #todayquestion   #tutsschool   #java  
a) main() 
b) delete()
c) run()
d) finalize()
3
JALDA ADITHYA's profile photoProgramming Fun's profile photo
5 comments
 
answer is (a) main() method must be declared static, main() method is called by Java’s run time system before any object of any class exists. 
Add a comment...