





























































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
this is the ppt of all about chat bot
Typology: Summaries
1 / 69
This page cannot be seen from the preview
Don't miss anything!
Nirvana Country, South City II, Sector 50, Gurugram, Haryana 122018
Submitted By:
Ashok Kumar Roy
E.N:
B.Tech(CSE)
5
Semester
Date: 30 December,
Submitted To:
Department of Computer
Science and Engineering,
School of Technology,
A P Goyal Shimla
University
ACKNOWLEDGEMENT
It is a great privilege to express my sincere gratitude and thanks to my revered superior Sarvesh
opportunity to work under such a trusted, dynamic, eminent supervisor whose generous attitude has provided me the zeal to work hard.
th
ABOUT THE ORGANISATION
Internshala is a dot com business with the heart of dot org_._ We are a technology company on a mission to equip students with relevant skills & practical exposure through internships and online trainings. Imagine a world full of freedom and possibilities. A world where you can discover your passion and turn it into your career. A world where your practical skills matter more than your university degree. A world where you do not have to wait till 21 to taste your first work experience (and get a rude shock that it is nothing like you had imagine it to be). A world where you graduate fully assured, fully confident, and fully prepared to stake claim on your place in the world. Internshala is an internship and online training platform, based in Gurgaon, India. Founded by Sarvesh Agrawal, an IIT Madras alumnus, in 2010, the website helps students find internships with organisations in India. In August 2016, Telangana's not-for-profit organisation, Telangana Academy for Skill and Knowledge partnered with Internshala to help students with internship resources and career services.In September 2016, Team Indus, Google XPRIZE shortlisted entity has partnered with Internshala for college outreach for its initiative, Lab2Moon.
Their business verticals are:
Recruitment & Staffing Software Development and Testing Services Digital Marketing Enterprise Mobility Certifications & Trainings for Career Management Software solutions
THE VISION is to lead in the creation and delivery of innovative solutions and services that
enable our clients to win in the changing world of work.
THE TEAM has expertise ranging from design to development, training to placements and solutions to implementation. They combine this knowledge with proactive thinking and strategic
planning to approach new challenges with your overall business objectives in mind. Internshala
management team brings together a wealth of experience in both technological and
organizational development that is critical in helping the customers achieve their goals.
SYSTEM ANALYSIS
Before going through Core Java Training, candidate should have knowledge of given concepts listed below:
Tools: Intellij IDEA JDK
Duration: 6 Weeks
Feasibility Study Introduction to Java Features of Java Setting up IntelliJ IDEA JDK, JRE, JVM Writing Simple Programs Understanding First Java Program Numeric Data Types and Operations if Statements Logical Operators switch Statements The while, do-while and for Loop
Methods
Objects and Classes
tructors
Inheritance and Polymorphism
orphism
Exception Handling -Handling Overview -Handling Advantages
Abstract Classes and Interfaces
bjects
Java Collections Framework
Arraylist The while, do-while and for Loop The while, do-while and for Loop
Hash Maps
An application that runs on the server side and creates dynamic page, is called web application. Currently, servlet, jsp, struts, jsf etc. technologies are used for creating web applications in java.
3) Enterprise Application. An application that is distributed in nature, such as banking applications etc. It has the advantage of high level security, load balancing and clustering. In java, EJB is used for creating enterprise applications. 4) Mobile Application An application that is created for mobile devices. Currently Android and Java ME are used for creating mobile applications.
There are 4 platforms or editions of Java:
1) Java SE (Java Standard Edition) It is a java programming platform. It includes Java programming APIs such as java.lang, java.io, java.net, java.util, java.sql, java.math etc. It includes core topics like OOPs, String, Regex, Exception, Inner classes, Multithreading, I/O Stream, Networking, AWT, Swing, Reflection, Collection etc. 2) Java EE (Java Enterprise Edition) It is an enterprise platform which is mainly used to develop web and enterprise applications. It is built on the top of Java SE platform. It includes topics like Servlet, JSP, Web Services, EJB, JPA etc. 3) Java ME (Java Micro Edition) It is a micro platform which is mainly used to develop mobile applications. 4) JavaFx It is used to develop rich internet applications. It uses light-weight user interface API.
Java history is interesting to know. The history of java starts from Green Team. Java team members (also known as Green Team), initiated a revolutionary task to develop a language for digital devices such as set-top boxes, televisions etc. For the green team members, it was an advance concept at that time. But, it was suited for internet programming. Later, Java technology as incorporated by Netscape.
Currently, Java is used in internet programming, mobile devices, games, e- business solutions etc. There are given the major points that describes the history of java.
Fig 1.1.5 James Gosling
There are many java versions that has been released. Current stable release of Java is Java SE 8. JDK Alpha and Beta (1995) JDK 1.0 (23rd Jan, 1996) JDK 1.1 (19th Feb, 1997) J2SE 1.2 (8th Dec, 1998) J2SE 1.3 (8th May, 2000) J2SE 1.4 (6th Feb, 2002) J2SE 5.0 (30th Sep, 2004) Java SE 6 (11th Dec, 2006) Java SE 7 (28th July, 2011) Java SE 8 (18th March, 2014)
inheritance inheritance. through class. It can be achieved by interfaces in java.
Operator Overloading
C++ supports operator overloading.
Java doesn't support operator overloading.
Pointers C++ supports pointers. You can write pointer program in C++.
Java supports pointer internally. But you can't write the pointer program in java. It means java has restricted pointer support in java.
Compiler and Interpreter
C++ uses compiler only. Java uses compiler and interpreter both.
Call by Value and Call by reference
C++ supports both call by value and call by reference.
Java supports call by value only. There is no call by reference in java.
Structure and Union
C++ supports structures and unions.
Java doesn't support structures and unions.
Thread Support C++ doesn't have built-in support for threads. It relies on third-party libraries for thread support.
Java has built-in thread support.
Documentation comment
C++ doesn't support documentation comment.
Java supports documentation comment (/** ... */) to create documentation for java source code.
Virtual Keyword C++ supports virtual keyword so that we can decide whether or not override a function.
Java has no virtual keyword. We can override all non-static methods by default. In other words, non-static methods are virtual by default.
unsigned right shift
C++ doesn't support >>> operator.
Java supports unsigned right shift >>> operator that fills zero at the top for the negative numbers. For positive numbers, it works same like >> operator.
Inheritance Tree C++ creates a new inheritance tree always.
Java uses single inheritance tree always because all classes are the child of Object class in java. Object class is the root of inheritance tree in java.
For executing any java program, you need to o Install JDK. ( download from the following link)
http://www.oracle.com/technetwork/java/javase/downloads/index.html
o set path of the jdk/bin directory. o create the java program o compile and run the java program
The path is required to be set for using tools such as javac, java etc.
If you are saving the java source file inside the jdk/bin directory, path is not required to be set because all the tools will be available in the current directory.
But If you are having your java file outside the jdk/bin folder, it is necessary to set path of JDK.
There are 2 ways to set java path:
o Open command prompt o copy the path of jdk/bin directory o write in command prompt: set path=copied_path
For Example: set path=C:\Program Files\Java\jdk1.6.0_23\bin
Click on (Configure > Project Defaults > Project)
Select SDKs
Add Java Development Kit
Click + > JDK
Note: Press Cmd+Shift+. to show hidden files in the file chooser dialog.
Navigate to the JDK location. E.g.,
/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk on OSX. Select the JDK folder Add Android SDK Click + > Android SDK Note: Press Cmd+Shift+. to show hidden files in the file chooser dialog.
Note: Press Cmd+Shift+. to show hidden files in the file chooser dialog. Click OK
Let's create the hello java program:
class Simple{ public static void main(String args[]){ System.out.println("Hello Java"); } }
save this file as Simple.java
To compile: javac Simple.java To execute: java Simple
Let's see what is the meaning of class, public, static, void, main, String[], System.out.println().
class keyword is used to declare a class in java.
public keyword is an access modifier which represents visibility, it means it is visible to all.
static is a keyword, if we declare any method as static, it is known as static method. The core advantage of static method is that there is no need to create object to invoke the static method. The main method is executed by the JVM, so it doesn't require to create object to invoke the main method. So it saves memory.
void is the return type of the method, it means it doesn't return any value.
main represents startup of the program.
String[] args is used for command line argument. We will learn it later.
System.out.println() is used print statement. We will learn about the internal working of