Showing posts with label core java. Show all posts
Showing posts with label core java. Show all posts

Tuesday, April 9, 2019

History of JAVA

                   


HISTORY OF JAVA


In this blog, we see the history of java. History of java is very fascinating. Java is first created for digital set-top box but it was too advanced technology for the cable television management at the period. In past events Java is started at that green time. Java team member initiated the project to create a language for devices such as set-top box, television cables. However, it's preferred for online programming then it joined with other top most browser.

The standard of creating a java programming simple, dynamic robust, platform independent, Architectural neutral, multithreaded, object-oriented, secure, high performance.

Currently, java programming used in the internet, mobile devices, games, e-business solutions, etc. They are significant points given about the history of Java.

1. James Gosling, Mike Sheridan, Patrick Naughton these three members initiated java project in June 1991. It was originally developed for small embedded devices like television set-top box connections. Three members team name is the Green team.
2. First, it was called by the green talk by James Gosling and its file extension is .gt
3. Later it was called oak. And developed by the green team.
4.OAK is the symbol of strength and chosen in many countries national tree like France, USA, Germany, Romania.
5. In 1995 OAK was renamed as JAVA  because already it was a trademark by OAK technologies.
6. Initially, it was developed by James Gosling at sun microsystems and it was released in 1995.
7.Java 1.0 release in 1996 file format of JDK file extension.
Later so many versions of Java was released now it was the most predominant object-oriented powerful programming language. Based on java in mobiles smartphones are launched in android OS.

Java Virtual Machine Its generally referred to as a JVM. Java has a java development kit, bytecode, Java runtime environment are one of the main features of Java programming.These are the History of java.

If you want to learn and get certificates in java. You will join in Java Training Institute in Chennai.

Tuesday, April 2, 2019

Constructors in Java

Constructor Java Training in Chennai is a block of code in the program,constructor is same as method,constructor doesn’t have any return type where method has return type.Constructor name is same as class name

Advantages of constructor
When we use constructor at the time of writing Java application then we get following advantages.
1) It eliminates in placing default values.
2) It eliminates in calling ordinary methods.


Characters of constructor
If we want to use a constructor as a part of Java program then we have follow properties.
1) Constructor will be called by the JVM implicitly when the object is created.
2) Constructor Core Java Training in chennai name is most similar to class name.
3) Constructor will not have any return type even void also
( if we write any return type then it will be treated as "Ordinary Method".)
4) Constructor should not be static ( because of constructor calling each & every time when an object is created ).
5) Constructor of java never participates in inheritance process (Because every constructor is meant for initializing with their own data member but not data member of another class.
6)
a)If the access modifier of the constructor is private then an object of an corresponding Java Training Institute in chennai class can be created in the class context but not in other class context.
b) If the access modifier of the constructor not private then an object of the corresponding class can
be created both class context and in another class context.


Types Of Constructors:

Constructors are classified into three types,they are:
1)Default Constructor
2)No-arg Constructor
3)Parameterized Constructor


Default Constructor:
The default constructor is nothing but a simple constructor ,it is enclosed in the .class file ,Core Java Training in chennai the default constructor will automatically Included in the file.


When the user don’t include the default constructor,the source code will automatically enclosed the constructor to the .class file


Example of Default Constructor:
public class Hello {
  String name;
  //Constructor
  Hello(){
     this.name = "Beginners";
  }
  public static void main(String[] args) {
     Hello obj = new Hello();
     System.out.println(obj.name);
  }
}


No-arg Constructor:
No-arg constructor is defined as Constructor with no arguments.it is same as default constructor.Java Training in chennai


Example of no-arg Constructor:
class Demo
{
    public Demo()
    {
        System.out.println("This is a no argument constructor");
    }
    public static void main(String args[]) {
    new Demo();
    }
}

Parameterized Constructor:

Constructor with arguments Java Training Institute in chennai are known as parameterized constructor.

Example of Parameterized Constructor:
public class Employee {


  int empId;  
  String empName;  
   
  //parameterized constructor with two parameters
  Employee(int id, String name){  
      this.empId = id;  
      this.empName = name;  
  }
  void info(){
       System.out.println("Id: "+empId+" Name: "+empName);
  }
  
  public static void main(String args[]){  
Employee obj1 = new Employee(10245,"Chaitanya");  
Employee obj2 = new Employee(92232,"Negan");  
obj1.info();  
obj2.info();  
  }
}
Output:
Id: 10245 Name: Chaitanya
Id: 92232 Name: Negan

Friday, December 14, 2018

Top 5 Resources for learning Java Concepts Easily




Lot of resources about java in the internet but it’s been difficult to search for Easily understandable website for java.when I have started to learn java,I have come across many websites.but it’s been difficult to learn because as a beginner.They’re lot of questions WHERE TO START? And HOW TO START?

For Avoiding these types of Question. I have created this blog..This Blog is for one who don’t know anything about programming language and this is for absolute beginners.

I have listed here 5 Top Resources For Java beginners. Have a look
  1. Oracle java tutorial
  2. Beginners book
  3. w3schools
  4. Journal Dev
  5. freeCodeCamp
Oracle Java Tutorial:

The Oracle is created a documentation for jdk 8 and it's a trial version from oracle.It's a great tutorial for all the developers and programmers.No need to worry if you are not a developer.it's totally designed for absolute beginners.this site has covered all the topics for both Java Training Institute in chennai and advance java.you will not feel any difficulty to understand the concepts.

It's also include the following division.I have listed these divisions below:
  • Learning the Java language
  • Java Tutorials Learning Paths
  • Trail
  • Essential classes
  • Java SE Tutorial Downloads
  • Collections 

Beginners Book:
             This website is for absolute beginners who don’t have any pioneer knowledge about java.this tutorial includes both Core Java Training in chennai and advance topics.it also helpful for interview preparation.This tutorial is very easy to understand.It included several topics and 50+ programs for java programming. 

I have listed the topics of beginners book .so you can easily understand
  • Introduction to java
  • Java control statements
  • OOPs concept
  • Exception handling
  • Collection
  • Annotation,Enum,Regex
  • Miscellaneous core java
  • Java 8 features
  • Java 9 features
  • Java I/O
W3schools:

If you interested in learning about web development then this tutorial is for you. It has several,topicslike html,css,jquery,bootstrap,,angular.js,node.js,colorpicker,python,java
,javascript,sql,mysql,mongodb.If I talk about Java Training Institute in chennai.this 
website has clearly explain the basic concepts but it won’t include any advance topics.

I have listed the divisions below
  • Java Intro
  • Java Interface
  • Java examples
  • Java getting started
  • Java syntax
  • Java user input
JournalDev:

This website has written the java concepts in an easiest way. It has Core Java Training in chennai and several advance topics like;

  • Core java
  • Servlet 
  • Jsp
  • Struts
  • Spring
  • Hibernate
FreeCodeCamp:
        freeCodeCamp is the Non-profit organization that consists of an interactive learning web platform,an online community forum and lot more.


If you want to expert in java mean do practice daily .you will automatically gain lot of knowledge and problem solving tactic.


I hope this resources are helpful and informative.