Posts

Java Tutorials Home

Image
   Coding-zon Java Tutorials Home      Core Java     Chapter1_Java_introduction Chapter2_Variables in Java Chapter3_Operators & Control statements Chapter4_Looping_Statement in Java Chapter5_Java Arrays Chapter6_Java_Classes Chapter7_Java Inheritance_Notes Chapter8_Java LangPackage_Notes Chapter9_Java Exceptions Chapter10_Java Packages Chapter11_Java Strings_Notes  JAVA Quiz      Core Java Code Examples    Advanced Java   Java Scanner Class Tutorial JDBC Tutorial     Java Networking Home Java Web Technologies   Servlets Tutorials Home   JSP Tutorials Home

Java Introduction tutorial

Image
 Corejava Tutorial    Table of Contents: Introduction  Java Features Java Architecture Java program structure Rules for writing java program Software Links     Introduction Java introduced with the version 1.0 in 1995 by James Gosling who know as father of Java. Currently, JDK version is Java SE 17 . Java is one of the programming language like C, C++ but there are some drawbacks in C, C++, ex: they are platform oriented. Java actually developed, to write programs which can be embedded in consumer electronic devices, such as Fridge, Oven etc., to set automatic timer controls which gives buzzer automatically after elapsing certain time. Java invention also made possible exchanging data from heterogeneous websites, because Java code generates byte code(.class) after compilation. This can understand by any computer.   Java Features: Java has the following features which made it popular. Java is a Network based language. Java allows to develop network base...

Java Packages Tutorial

Image
Learn Packages in Java   Table of Contents What is  a package in Java? Builtin Packages User defined packages Package Declaration in java program Why package? Access specifiers What is  a package in Java? A Package contains a collection of classes, interfaces, and sub packages. These all are belongs to one group. Packages can be categorized into Two. Builtin Packages  User defined packages  Builtin Packages   Ex: java. lang .*; java. io .*;  java. sql .*;  java. awt .*; User defined packages   package mypack1; package mypack2;   Package Declaration in Java Program  first line package declaration  importing statements  class declaration. Syn: package <packagename>; Ex:     package p1;   Ex:   package p1; // package declaration   import java.io.* ; // importing statements    class Test { // class declaration. ........ ........ }...