concept of core java
DESCRIPTION
in this ppt ,all the concepts of java are covered.TRANSCRIPT
![Page 1: concept of core java](https://reader033.vdocuments.site/reader033/viewer/2022042607/55790712d8b42a03578b4599/html5/thumbnails/1.jpg)
Training Presentation in JAVA/J2EE
Submitted By:Shubham Banshiwala
Submitted To:Mr. Abhishek TiwariHead of Department Electronics And Comm.
![Page 2: concept of core java](https://reader033.vdocuments.site/reader033/viewer/2022042607/55790712d8b42a03578b4599/html5/thumbnails/2.jpg)
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
![Page 3: concept of core java](https://reader033.vdocuments.site/reader033/viewer/2022042607/55790712d8b42a03578b4599/html5/thumbnails/3.jpg)
CONCEPTSOF JAVA
![Page 4: concept of core java](https://reader033.vdocuments.site/reader033/viewer/2022042607/55790712d8b42a03578b4599/html5/thumbnails/4.jpg)
Practical Aspects of JAVA Language
Java mobile application used in tool and frame working of whatsapp and facebook.
![Page 5: concept of core java](https://reader033.vdocuments.site/reader033/viewer/2022042607/55790712d8b42a03578b4599/html5/thumbnails/5.jpg)
Java Usage in Daily Life• hfh
![Page 6: concept of core java](https://reader033.vdocuments.site/reader033/viewer/2022042607/55790712d8b42a03578b4599/html5/thumbnails/6.jpg)
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.
![Page 7: concept of core java](https://reader033.vdocuments.site/reader033/viewer/2022042607/55790712d8b42a03578b4599/html5/thumbnails/7.jpg)
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.
![Page 8: concept of core java](https://reader033.vdocuments.site/reader033/viewer/2022042607/55790712d8b42a03578b4599/html5/thumbnails/8.jpg)
Contents of Java Language• The package statement• The import statement• Comments • Class declaration and definition• Variables• Methods• Constructors
![Page 9: concept of core java](https://reader033.vdocuments.site/reader033/viewer/2022042607/55790712d8b42a03578b4599/html5/thumbnails/9.jpg)
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.
![Page 10: concept of core java](https://reader033.vdocuments.site/reader033/viewer/2022042607/55790712d8b42a03578b4599/html5/thumbnails/10.jpg)
• 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.
![Page 11: concept of core java](https://reader033.vdocuments.site/reader033/viewer/2022042607/55790712d8b42a03578b4599/html5/thumbnails/11.jpg)
Development Of Java Program
package default; default class A { public static void main(String []args) { System.out.println(“Success”); } }
![Page 12: concept of core java](https://reader033.vdocuments.site/reader033/viewer/2022042607/55790712d8b42a03578b4599/html5/thumbnails/12.jpg)
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.
![Page 13: concept of core java](https://reader033.vdocuments.site/reader033/viewer/2022042607/55790712d8b42a03578b4599/html5/thumbnails/13.jpg)
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
![Page 14: concept of core java](https://reader033.vdocuments.site/reader033/viewer/2022042607/55790712d8b42a03578b4599/html5/thumbnails/14.jpg)
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.
![Page 15: concept of core java](https://reader033.vdocuments.site/reader033/viewer/2022042607/55790712d8b42a03578b4599/html5/thumbnails/15.jpg)
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”.
![Page 16: concept of core java](https://reader033.vdocuments.site/reader033/viewer/2022042607/55790712d8b42a03578b4599/html5/thumbnails/16.jpg)
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;
![Page 17: concept of core java](https://reader033.vdocuments.site/reader033/viewer/2022042607/55790712d8b42a03578b4599/html5/thumbnails/17.jpg)
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.
![Page 18: concept of core java](https://reader033.vdocuments.site/reader033/viewer/2022042607/55790712d8b42a03578b4599/html5/thumbnails/18.jpg)
Certification for OCJP
Lara also preparing the Professionals for the Certification of “Oracle Certified Java Programmer””.
![Page 19: concept of core java](https://reader033.vdocuments.site/reader033/viewer/2022042607/55790712d8b42a03578b4599/html5/thumbnails/19.jpg)
Thank you
Hard work and Dedication are the key to “Success”