JAVA EXAMPLE PROGRAMS

JAVA EXAMPLE PROGRAMS

Welcome to the World of JAVA Programing!!!

A Java program is mostly a collection of objects talking to other objects by invoking each other's methods. Every object is of a certain type, and that type is defined by a class or an interface. Most Java programs use a collection of objects of many different types. Our objective is to come up with java example programs for each and every class provided by java documentation, which can be very much helpful for java beginners.

Knowledge Center block on right side of the page will randomly posts some quick information on java language. It could be quick learning for new java learners.

Please send comments, broken link reports, errors, suggestions, and questions about this site to the author at java2novice@gmail.com.

Collections & Util Package
A collections framework is a unified architecture for representing and manipulating collections. Java Collections Framework reduces programming effort, increases program speed and quality, allows interoperability among unrelated APIs, fosters software reuse.
Data Structures
A data structure is a particular way of storing and organizing data in a computer so that it can be used efficiently. Data structures provide a means to manage large amounts of data efficiently. efficient data structures are a key to designing efficient algorithms.
Java Interview Programs
We have collected list of java interview programs from few software engineers and also with my personal experience. In this section, we are trying to give you the best solutions for these problems. Good interviewers are more interested in your ability to code.
Java Sorting Algorithms
A sorting algorithm is an algorithm that puts elements of a list in a certain order. The most-used orders are numerical order and lexicographical order. Efficient sorting is important for optimizing the use of other algorithms such as search and merge...
Java JDBC Examples
JDBC stands for Java Database Connectivity. JDBC API is a collection of classes and interfaces, which help a Java application to connect to SQL based relational databases by abstracting vendor specific details of the database. JDBC enables Java developers to connect to...
Java Annotations Examples
Java Annotations are also called Metadata. Annotations are introduced with JDK 5 onwards. Annotations allows us to add some form of metadata information into our source code, but it doesnot change the execution flow of the program. These annotations...


Knowledge Center
Different types of Access Modifiers
public: Any thing declared as public can be accessed from anywhere.

private: Any thing declared as private can't be seen outside of its class.

protected: Any thing declared as protected can be accessed by classes in the same package and subclasses in the other packages.

default modifier: Can be accessed only to classes in the same package.

About Author

My name is Nataraja Gootooru, programmer by profession and passionate about technologies. All examples given here are as simple as possible to help beginners. The source code is compiled and tested in my dev environment.

If you come across any mistakes or bugs, please email me at java2novice@gmail.com or you can comment on the page.

Most Visited Pages

Other Interesting Sites

Reference: Java™ Platform Standard Ed. 6 - API Specification | Java is registered trademark of Oracle.
Privacy Policy | Copyright © 2014 by Nataraja Gootooru. All Rights Reserved.