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 …
Read More »Core Java Tutorial
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 …
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 …
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 …
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 …
Read More »Benefits of Java over C and C++
Benefits of Java over C and C++ • Architecturally neutral. Once written, the same Java program can be run on any platform computer and operating system) that supports Java. • Entirely object-oriented. Existing code can …
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 …
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 • …
Read More »The Java Platform
A platform is the hardware or software environment in which a program runs. The Java platform differs from most other platforms in that it’s a software-only platform that runs on top of other, hardware-based platforms. …
Read More »Java Development Kit (JDK)
The Java Development Kit comes with a collection of tools that are used for developing and running Java programs. They include: • appletviewer ( for viewing Java applet) • javac (Java compiler) • java (Java …
Read More »HARDWARE AND SOFTWARE REQUIREMENTS
HARDWARE AND SOFTWARE REQUIREMENTS Java is currently supported on Window 95, Window NT, Sun Solaries, Macintosh and UNIX machine. The minimum software and hardware requirement for 95 version of Java are as follows: • IBM-compatible …
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, …
Read More »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 …
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 { …
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. */ …
Read More »