Core Java Tutorial

Java Tutorial or Core Java Tutorial or Java Programming Tutorial is a widely used robust technology. Let’s start learning Java from basic questions like what is Java tutorial, Core Java, where it is used, what type of applications are created in Java, why use java and Java platforms etc. Our Java tutorial helps you to learn Java with easy and simple examples.

How to Print Diamond Pattern in Java Programming Language?

Print Diamond Pattern To print diamond pattern in Java Programming, you have to use six for loops, the first for loop (outer loop) contains two for loops, in which the first for loop is to print the spaces, and the second for loop print the stars to make the pyramid of stars. Now the second for loop (outer loop) also contains the two for loop, in which the first for loop …

How to Print Diamond Pattern in Java Programming Language? Read More »

How to Print Patterns of Numbers and Stars in java programming language?

To print patterns of numbers and stars (*) in Java Programming, you have to use two loops, first is an outer loop and the second is the inner loop. The outer loop is responsible for rows and the inner loop is responsible for columns. Java Programming Code to Prints Patterns Following are the one by …

How to Print Patterns of Numbers and Stars in java programming language? Read More »

Most Important Commonly Asked Java Programming Interview Questions

Dear readers, these Java programming Interview Questions have been designed specially to get you acquainted with the nature of questions you may encounter during your interview for the subject of Java Programming Language. As per my experience, good interviewers hardly planned to ask any particular question during your interview, normally questions start with some basic concept …

Most Important Commonly Asked Java Programming Interview Questions Read More »

Java History

Java History • Java is a general purpose , object-oriented programming language. • The fastest growing programming language in the history of computing • Developed by Sun Microsystems of USA in 1991. • Originally it is called Oak by James Gosling. • Originally designed in 1991 for use in embedded consumer applications • Java team …

Java History Read More »

Java Features

• Simple • Architecture-neutral • Object-oriented • Portable • Distributed • High-performance • Interpreted • Multithreaded • Robust • Dynamic • Secure Simple: Java is a simple language as it does not use pointers, preprocessor header files; go to statement and many more others. Object oriented: In Java everything is object. All program code and …

Java Features Read More »

How Java works

How Java works • To develop and distribute a Java program 1. Programmer codes Java source statements 2. Java compiler converts source statements into bytecode (platform-independent object     language) 3. Bytecode is copied to the target platform • To execute a Java program 1. Platform-dependent Java Virtual Machine (JVM) software must be installed 2. A copy …

How Java works Read More »

The Java Programming Language

The Java Programming Language Java is a high-level programming language that is all of the following: • Simple • Architecture-neutral • Object-oriented • Portable • Distributed • High-performance • Interpreted • Multithreaded • Robust • Dynamic • Secure Java is also unusual in that each Java program is both compiled and interpreted. With a compiler, …

The Java Programming Language Read More »

Disadvantages of Java

Disadvantages of Java � Not supported by all platforms (though third-party JVM software is usually available) � Slower in execution than compiled languages � Restricts or prohibits machine-level operations required by certain applications (operating systems, etc.)  

Developing the Java Application

Developing the Java Application A Java application is a standalone Java program– a program written in the Java language that runs independently of any browser. Example: /** * The HelloWorldApp class implements an application that * simply displays “Hello World!” to the standard output. */ class HelloWorldApp { public static void main(String[] args) { System.out.println(“Hello …

Developing the Java Application Read More »

Comments in Java Code | Overview of Java Language

Comments in Java Code The bold characters in the following listing are comments. /** * The HelloWorldApp class implements an application that * simply displays “Hello World!” to the standard output. */ class HelloWorldApp { public static void main(String[] args) { System.out.println(“Hello World!”); //Display the string. } } The Java language supports three kinds of …

Comments in Java Code | Overview of Java Language Read More »

Defining a Class | Overview of Java Language

Defining a Class The first bold line in the following listing begins a class definition block. /** * The HelloWorldApp class implements an application that * simply displays “Hello World!” to the standard output. */ class HelloWorldApp { public static void main(String[] args) { System.out.println(“Hello World!”); //Display the string. } } A class–the basic building …

Defining a Class | Overview of Java Language Read More »