concept of core java
DESCRIPTION
in this ppt ,all the concepts of java are covered.TRANSCRIPT
Training Presentation in JAVA/J2EE
Submitted By:Shubham Banshiwala
Submitted To:Mr. Abhishek TiwariHead of Department Electronics And Comm.
Introduction of LARA TECHNOLOGIES
• Lara trained nearly 200 batches for divisive type of aspirants that includes B.TECH, M.C.A, B.Sc, M.Sc, M.B.A, B.A, M.A, Medical Science students and Working Professionals in different fields.
• In every batch 90% of attendees getting breakthrough in their life.
• Nearly 5000 students certified in various Oracle certifications
CONCEPTSOF JAVA
Practical Aspects of JAVA Language
Java mobile application used in tool and frame working of whatsapp and facebook.
Java Usage in Daily Life• hfh
Why Java is Necessary for a Professional
• Java is the language which is used by most of the organization widely not only in India all over the world.• If a professional wants to place in a such organizations like:
• Then it is must that the professional having a good knowledge in java programming and related frameworks.
What is definition of java language?
• Java is a programming language class based, object oriented that can run on virtually any type of computer (is ‘platform and device independent').
• Developed in 1995 by James Gosling of Sun Microsystems.
Contents of Java Language• The package statement• The import statement• Comments • Class declaration and definition• Variables• Methods• Constructors
Brief Explanation of Java Contents
The Package Statement : All java classes are the part of package. A java class explicitly defines in a package. package com; class A { }
Class Definition: A class is a design used to specify behavior of an object.
• Class Declaration: The class declaration marks the start of a class. For class
declaration we are using keyword “class”.
• Variable: The purpose of variables to store the state of an object
they are called instance variable or instance attributes. They are used to implements the properties of an object.
• Methods : Methods are use to manipulate the instance variables. It
is used to implements the behavior of an object.
Development Of Java Program
package default; default class A { public static void main(String []args) { System.out.println(“Success”); } }
COMMANDS TO EXECUTE JAVA PROGRAMM
• There are the two commands, which are use to execute java program.
javac filename.java java classname • Javac is used to create .class file.• Java command is used to run bytecodes in console window.
Compiler(java)
Java Virtual Machine (JVM)
Class Loader
Byte code Verifier
InterpreterJust-in-time
compiler
Security Manager
Operating System
Network or
File System
= security gateway
Class file .class
How A Java Byte Code Executes
Java With Database•Java is connected different databases to store the data.•Whenever user is login into the particular system whatever the username and password is submitting are already stored in the database.
HOW TO DEVELOP LOGIN PAGE BY JAVA
Java is the language which is use to develop different web applications.
In general java is the language which is used for most of the web applications which requires database connectivity.
Java is also interact with database by using the concepts of “JAVA SCRIPT”.
Code To Develop Login Page• <form action=“loginSuccess.html”> Username: <input type=‘text’ name=‘username’><br> Password: <input type=‘password’ name=‘password’><br> <input type=‘submit’ value=‘submit’ onclick=‘return loginValidator()’> </form> <script> function loginValidator(){ if (document.forms[0].username.value.length==0){ alert(“enter username”); return false; } if (document.forms[0].password.value.length==0){ alert(“enter password”); return false;
Platform independent concept• Platform
independent means "write once run anywhere". Java is called so because it can run on any machine having the java core independent of the platform.
Certification for OCJP
Lara also preparing the Professionals for the Certification of “Oracle Certified Java Programmer””.
Thank you
Hard work and Dedication are the key to “Success”