This document provides an overview of the Java programming language by discussing what Java is, where it is used, types of Java applications, and the history and features of Java. Some key points:
- Java is an object-oriented programming language and platform that is widely used to create desktop, web, enterprise, mobile, and other applications.
- Java applications can run on many platforms due to its platform independence. It uses a virtual machine to execute bytecode, allowing code to run on different operating systems.
- The Java language was originally developed by James Gosling and Sun Microsystems in the early 1990s and was released in 1995. It has since evolved through many versions.
- Common features of
Introduction to Java : Feature to Java, Java Virtual Machine, Differences between C++ and Java,
Part of Java, API Document, Starting a Java Program. Important Classes, Formatting the Output
Introduction to Java : Feature to Java, Java Virtual Machine, Differences between C++ and Java,
Part of Java, API Document, Starting a Java Program. Important Classes, Formatting the Output
JRE , JDK and platform independent nature of JAVAMehak Tawakley
Java programming language was originally developed by Sun Microsystems which was initiated by James Gosling and released in 1995 as core component of Sun Microsystems.
JRE stands for Java Runtime Environment which is used to provide an environment at runtime.
JVM or Java Virtual Machine is the medium which compiles Java code to bytecode which gets interpreted on a different machine and hence it makes it Platform/ Operating system independent.
JDK (Java SE Development Kit) Includes a complete JRE (Java Runtime Environment) plus tools for developing, debugging, and monitoring Java applications.
Once upon a time in the C++ century, the Great King of Sun said people need Duke, The PDA (a medieval version of a tablet). He picked his bravest knights – Naughton, Sheriden and Gosling – and entrusted them a secret mission to travel the universe in search for a perfect language that Duke can use.
After three years of a dangerous journey in a world of bits, bytes and memory leakages, on an Asian isle they found it. Java made of Oak has been discovered.
When they returned the King was not in power anymore. New world was ruled by a mysterious organisation, World Wide Web. Our brave knights honoured it with the glorious Java. And the world became perfect…
Mani and Rafal will take your through an exciting story of great programmers, multi-billion company wars, and - most importantly – language features. The history of Java, from its inception till just about today.
Java Tutorial or Core Java Tutorial or Java Programming Tutorial is a widely used robust technology. Let's start learning Java from basic questions like what is Java tutorial, Core Java, where it is used, what type of applications are created in Java, why use java and Java platforms etc. Our Java tutorial helps you to learn Java with easy and simple examples.
JRE , JDK and platform independent nature of JAVAMehak Tawakley
Java programming language was originally developed by Sun Microsystems which was initiated by James Gosling and released in 1995 as core component of Sun Microsystems.
JRE stands for Java Runtime Environment which is used to provide an environment at runtime.
JVM or Java Virtual Machine is the medium which compiles Java code to bytecode which gets interpreted on a different machine and hence it makes it Platform/ Operating system independent.
JDK (Java SE Development Kit) Includes a complete JRE (Java Runtime Environment) plus tools for developing, debugging, and monitoring Java applications.
Once upon a time in the C++ century, the Great King of Sun said people need Duke, The PDA (a medieval version of a tablet). He picked his bravest knights – Naughton, Sheriden and Gosling – and entrusted them a secret mission to travel the universe in search for a perfect language that Duke can use.
After three years of a dangerous journey in a world of bits, bytes and memory leakages, on an Asian isle they found it. Java made of Oak has been discovered.
When they returned the King was not in power anymore. New world was ruled by a mysterious organisation, World Wide Web. Our brave knights honoured it with the glorious Java. And the world became perfect…
Mani and Rafal will take your through an exciting story of great programmers, multi-billion company wars, and - most importantly – language features. The history of Java, from its inception till just about today.
Java Tutorial or Core Java Tutorial or Java Programming Tutorial is a widely used robust technology. Let's start learning Java from basic questions like what is Java tutorial, Core Java, where it is used, what type of applications are created in Java, why use java and Java platforms etc. Our Java tutorial helps you to learn Java with easy and simple examples.
Театральные ужины - это джазовые и поэтические вечера, а также авторские интерактивные спектакли известных режиссеров для взрослых и детей. Это свежий проект в культурной жизни столицы, и он уже набрал сотни постоянных зрителей.
Интереснее чем ресторан, вкуснее чем театр!
Настоящее театральное качество в расслабленной атмосфере ресторана, отеля, усадьбы, а также на свежем воздухе на фоне прекрасных пейзажей. Классические произведения в современном интеллектуальном прочтении, в сопровождении живой музыки и вокала. Это изысканный отдых для души, возможность совместить эстетическое и гастрономическое удовольствие, ощутить энергетику перевоплощения артистов на расстоянии вытянутой руки, обсудить все увиденное с друзьями и семьей, а также при желании блеснуть на одной сцене вместе с артистами.
Это новая волна театрального искусства, участники которой стремятся вернуть людям удовольствие от общения с классической литературой и театром, от творчества, новых открытий и прекрасных переживаний, радость живого общения с выдающимися артистами и друг с другом.
Команда проекта включает разноплановых артистов, объединенных общим видением развития театра и искусства в целом. Это профессиональные артисты и режиссеров театра и кин, которые служат в Губернском Театре п/р Сергея Безрукова, Сатириконе, Мастерской П. Фоменко, Театре им. Евг. Вахтангова, Театре им. К.С. Станиславского, Театре им. Ермоловой, Театре Антона Чехова и других.
Наш формат подходит для корпоративных мероприятий, конференций, презентаций, форумов.
Introduction to Java: History, Versioning, The Java Virtual Machine, Byte code, Writing simple
java program, Language Components: Primitive Data Types, Comments, Keywords, literals, The
break Statement, The continue Statement, Operators – Casts and Conversions, Arrays. Introduction
to classes and methods, constructors, Passing Objects to Methods, Method Overloading, Static and
final, The this Reference, finalize, inner and nested classes. Inheriting class, extends, member
access and inheritance, super keyword, Object class. Dynamic method dispatch, method overriding,
abstract class, interface, packages, import statement
What is Java
Java is a programming language and a platform. Java is a high level, robust, object-oriented and secure programming language. It was originally developed by Sun Microsystems which was initiated by James Gosling and released in 1995 as core component of Sun Microsystems' Java platform (Java 1.0 [J2SE]).
The latest release of the Java Standard Edition is Java SE 10. With the advancement of Java and its widespread popularity, multiple configurations were built to suit various types of platforms. For example: J2EE for Enterprise Applications, J2ME for Mobile Applications.
The new J2 versions were renamed as Java SE, Java EE, and Java ME respectively. Java is guaranteed to be Write Once, Run Anywhere.
Features of Java
Object Oriented − In Java, everything is an Object. Java can be easily extended since it is based on the Object model.
Platform Independent − Unlike many other programming languages including C and C++, when Java is compiled, it is not compiled into platform specific machine, rather into platform independent byte code. This byte code is distributed over the web and interpreted by the Virtual Machine (JVM) on whichever platform it is being run on.
Simple − Java is designed to be easy to learn. If you understand the basic concept of OOP Java, it would be easy to master.
Secure − With Java's secure feature it enables to develop virus-free, tamper-free systems. Authentication techniques are based on public-key encryption.
Architecture-neutral − Java compiler generates an architecture-neutral object file format, which makes the compiled code executable on many processors, with the presence of Java runtime system.
Portable − Being architecture-neutral and having no implementation dependent aspects of the specification makes Java portable. Compiler in Java is written in ANSI C with a clean portability boundary, which is a POSIX subset.
Robust − Java makes an effort to eliminate error prone situations by emphasizing mainly on compile time error checking and runtime checking.
Multithreaded − With Java's multithreaded feature it is possible to write programs that can perform many tasks simultaneously. This design feature allows the developers to construct interactive applications that can run smoothly.
Interpreted − Java byte code is translated on the fly to native machine instructions and is not stored anywhere. The development process is more rapid and analytical since the linking is an incremental and light-weight process.
High Performance − With the use of Just-In-Time compilers, Java enables high performance.
Distributed − Java is designed for the distributed environment of the internet.
Dynamic − Java is considered to be more dynamic than C or C++ since it is designed to adapt to an evolving environment. Java programs can carry extensive amount of run-time information that can be used to verify and resolve accesses to objects on run-time.
Basic concepts of OOPs are:
Object
Class
Inheritance
Polymorphism
Abstraction
Encapsulati
TechSearhWeb is a tutorial site for different technologies to make quality education. We want to spread the good education worldwide. The aim to understand the language very easily get through the any problem to understand the basic and advance of any language.
This website has been developed for every people to getting more knowledge for every person, share their knowledge and ready to get the job.
What is Java
Java is a programming language and a platform. Java is a high level, robust, object-oriented and secure programming language. It was originally developed by Sun Microsystems which was initiated by James Gosling and released in 1995 as core component of Sun Microsystems' Java platform (Java 1.0 [J2SE]).
The latest release of the Java Standard Edition is Java SE 10. With the advancement of Java and its widespread popularity, multiple configurations were built to suit various types of platforms. For example: J2EE for Enterprise Applications, J2ME for Mobile Applications.
The new J2 versions were renamed as Java SE, Java EE, and Java ME respectively. Java is guaranteed to be Write Once, Run Anywhere.
Java String
In Java, String is basically an object that represents sequence of char values. An array of characters works same as Java string. In Java programming language, strings are treated as objects. The Java platform provides the String class to create and manipulate strings.
Exception in Java
An exception is an unwanted or unexpected event, which occurs during the execution of a program i.e at run time, that disrupts the normal flow of the program’s instructions.
Exception is an abnormal condition.In Java, an exception is an event that disrupts the normal flow of the program. It is an object which is thrown at runtime.
What is Exception Handling
Exception Handling is a mechanism to handle runtime errors such as ClassNotFoundException, IOException, SQLException, RemoteException, etc.
Collections in Java
The Collection in Java is a framework that provides an architecture to store and manipulate the group of objects.
Java Collections can achieve all the operations that you perform on a data such as searching, sorting, insertion, manipulation, and deletion.
Java Collection means a single unit of objects. Java Collection framework provides many interfaces (Set, List, Queue, Deque) and classes (ArrayList, Vector, LinkedList, PriorityQueue, HashSet, LinkedHashSet, TreeSet).
The Java Collections Framework is a collection of interfaces and classes which helps in storing and processing the data efficiently. This framework has several useful classes which have tons of useful functions which makes a programmer task super easy.
Basic of Selenium
Selenium is one of the most widely used open source Web UI (User Interface) automation testing suite.
Selenium tutorial provides basic and advanced concepts of Selenium. Our Selenium tutorial is designed for beginners and professionals.
Web Service
A web service is any piece of software that makes java API..
What is Java
Java is a programming language and a platform. Java is a high level, robust, object-oriented and secure programming language. It was originally developed by Sun Microsystems which was initiated by James Gosling and released in 1995 as core component of Sun Microsystems' Java platform (Java 1.0 [J2SE]).
The latest release of the Java Standard Edition is Java SE 10. With the advancement of Java and its widespread popularity, multiple configurations were built to suit various types of platforms. For example: J2EE for Enterprise Applications, J2ME for Mobile Applications.
The new J2 versions were renamed as Java SE, Java EE, and Java ME respectively. Java is guaranteed to be Write Once, Run Anywhere.
Exception in Java
An exception is an unwanted or unexpected event, which occurs during the execution of a program i.e at run time, that disrupts the normal flow of the program’s instructions.
Exception is an abnormal condition.In Java, an exception is an event that disrupts the normal flow of the program. It is an object which is thrown at runtime.
What is Spring
Spring is a lightweight framework and an open source Java platform that provides comprehensive infrastructure support for developing robust Java applications very easily and very rapidly. Spring framework was initially written by Rod Johnson and was first released under the Apache 2.0 license in June 2003. This tutorial has been written based on Spring Framework version 4.1.6 released in Mar 2015. It can be thought of as a framework of frameworks because it provides support to various frameworks such as Struts, Hibernate, Tapestry, EJB, JSF, etc. The framework, in broader sense, can be defined as a structure where we find solution of the various technical problems.
The Spring framework comprises several modules such as IOC, AOP, DAO, Context, ORM, WEB MVC etc. We will learn these modules in next page. Let's understand the IOC and Dependency Injection first.
Web Service
A web service is any piece of software that makes itself available over the internet and uses a standardized XML messaging system. XML is used to encode all communications to a web service. For example, a client invokes a web service by sending an XML message, then waits for a corresponding XML response. As all communication is in XML, web services are not tied to any one operating system or programming language java can talk with Perl; Windows applications can talk with Unix applications.
Web Services tutorial is designed for beginners and professionals providing basic and advanced concepts of web services such as protocols, SOAP, RESTful, java web service implementation, JAX-WS and JAX-RS tutorials and examples.
Web service is a technology to communicate one programming language with another. For example, java programming language can interact with PHP and .Net by using web services. In other words, web service provides a way to achieve interoperability.
Web services are self-contained, modular, and distributed.
TechSearhWeb is a tutorial site for different technologies to make quality education. We want to spread good education worldwide. The aim is to understand the language very easily and get through any problem to understand the basics and advance of any language.
This website has been developed for every people to get more knowledge for every person, share their knowledge, and be ready to get a job.
Read More Here:
https://www.techsearchweb.com
Excellence Technology offers Best Java Course In Chandigarh. we offer training on Core java and Advance Java Training in Mohali and we also provide advance java training in Mohali. We have well knitted team of Java Expert Level Programmers who would train you during the course of your Java Industrial Training to get you familiar with real working environment. With new technology getting launched every few months, students are confused on what technology they should learn. Here is why we feel JAVA is the best and you should definitely go for Advance JAVA Training .Excellence Technology is the Top java training institute in Chandigarh. It also providing digital marketing PHP , Graphic Designing training for 28days/45days/3months/6months industrial training with best practical knowledge.
Excellence Technology is one of the top reputed ISO certified software development and industrial training company in Mohali. Excellence Technology is a professional company providing web education and advanced 6 months and weeks industrial training in Mohali and is also a leading software development company. They also provide Java Training in Chandigarh.
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Jeffrey Haguewood
Sidekick Solutions uses Bonterra Impact Management (fka Social Solutions Apricot) and automation solutions to integrate data for business workflows.
We believe integration and automation are essential to user experience and the promise of efficient work through technology. Automation is the critical ingredient to realizing that full vision. We develop integration products and services for Bonterra Case Management software to support the deployment of automations for a variety of use cases.
This video focuses on the notifications, alerts, and approval requests using Slack for Bonterra Impact Management. The solutions covered in this webinar can also be deployed for Microsoft Teams.
Interested in deploying notification automations for Bonterra Impact Management? Contact us at sales@sidekicksolutionsllc.com to discuss next steps.
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualityInflectra
In this insightful webinar, Inflectra explores how artificial intelligence (AI) is transforming software development and testing. Discover how AI-powered tools are revolutionizing every stage of the software development lifecycle (SDLC), from design and prototyping to testing, deployment, and monitoring.
Learn about:
• The Future of Testing: How AI is shifting testing towards verification, analysis, and higher-level skills, while reducing repetitive tasks.
• Test Automation: How AI-powered test case generation, optimization, and self-healing tests are making testing more efficient and effective.
• Visual Testing: Explore the emerging capabilities of AI in visual testing and how it's set to revolutionize UI verification.
• Inflectra's AI Solutions: See demonstrations of Inflectra's cutting-edge AI tools like the ChatGPT plugin and Azure Open AI platform, designed to streamline your testing process.
Whether you're a developer, tester, or QA professional, this webinar will give you valuable insights into how AI is shaping the future of software delivery.
Key Trends Shaping the Future of Infrastructure.pdfCheryl Hung
Keynote at DIGIT West Expo, Glasgow on 29 May 2024.
Cheryl Hung, ochery.com
Sr Director, Infrastructure Ecosystem, Arm.
The key trends across hardware, cloud and open-source; exploring how these areas are likely to mature and develop over the short and long-term, and then considering how organisations can position themselves to adapt and thrive.
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf91mobiles
91mobiles recently conducted a Smart TV Buyer Insights Survey in which we asked over 3,000 respondents about the TV they own, aspects they look at on a new TV, and their TV buying preferences.
Transcript: Selling digital books in 2024: Insights from industry leaders - T...BookNet Canada
The publishing industry has been selling digital audiobooks and ebooks for over a decade and has found its groove. What’s changed? What has stayed the same? Where do we go from here? Join a group of leading sales peers from across the industry for a conversation about the lessons learned since the popularization of digital books, best practices, digital book supply chain management, and more.
Link to video recording: https://bnctechforum.ca/sessions/selling-digital-books-in-2024-insights-from-industry-leaders/
Presented by BookNet Canada on May 28, 2024, with support from the Department of Canadian Heritage.
Neuro-symbolic is not enough, we need neuro-*semantic*Frank van Harmelen
Neuro-symbolic (NeSy) AI is on the rise. However, simply machine learning on just any symbolic structure is not sufficient to really harvest the gains of NeSy. These will only be gained when the symbolic structures have an actual semantics. I give an operational definition of semantics as “predictable inference”.
All of this illustrated with link prediction over knowledge graphs, but the argument is general.
GraphRAG is All You need? LLM & Knowledge GraphGuy Korland
Guy Korland, CEO and Co-founder of FalkorDB, will review two articles on the integration of language models with knowledge graphs.
1. Unifying Large Language Models and Knowledge Graphs: A Roadmap.
https://arxiv.org/abs/2306.08302
2. Microsoft Research's GraphRAG paper and a review paper on various uses of knowledge graphs:
https://www.microsoft.com/en-us/research/blog/graphrag-unlocking-llm-discovery-on-narrative-private-data/
Connector Corner: Automate dynamic content and events by pushing a buttonDianaGray10
Here is something new! In our next Connector Corner webinar, we will demonstrate how you can use a single workflow to:
Create a campaign using Mailchimp with merge tags/fields
Send an interactive Slack channel message (using buttons)
Have the message received by managers and peers along with a test email for review
But there’s more:
In a second workflow supporting the same use case, you’ll see:
Your campaign sent to target colleagues for approval
If the “Approve” button is clicked, a Jira/Zendesk ticket is created for the marketing design team
But—if the “Reject” button is pushed, colleagues will be alerted via Slack message
Join us to learn more about this new, human-in-the-loop capability, brought to you by Integration Service connectors.
And...
Speakers:
Akshay Agnihotri, Product Manager
Charlie Greenberg, Host
2. Java Tutorial
• Java technology is widely used currently. Let's
start learning of java from basic questions like
what is java, where it is used, what type of
applications are created in java and why use
java?
3. What is Java?
• Java is a programming language and a
platform.
• Platform Any hardware or software
environment in which a program runs, known
as a platform. Since Java has its own Runtime
Environment (JRE) and API, it is called
platform.
4. Where it is used?
According to Sun, 3 billion devices run java. There are many
devices where java is currently used. Some of them are as
follows:
1. Desktop Applications such as acrobat reader, media
player, antivirus etc.
2. Web Applications such as irctc.co.in, etc.
3. Enterprise Applications such as banking applications.
4. Mobile
5. Embedded System
6. Smart Card
7. Robotics
8. Games etc.
5. Types of Java Applications
There are mainly 4 type of applications that can be created
using java:
1) Standalone Application
It is also known as desktop application or window-based
application. An application that we need to install on every
machine such as media player, antivirus etc. AWT and Swing
are used in java for creating standalone applications.
2) Web Application
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.
6. Types of Java Applications(cont)
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.
7. History of Java
James Gosling
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.
1) James Gosling, Mike Sheridan, and Patrick Naughton
initiated the Java language project in June 1991. The small
team of sun engineers called Green Team.
2) Originally designed for small, embedded systems in
electronic appliances like set-top boxes.
3) Firstly, it was called "Greentalk" by James Gosling and file
extension was .gt.
4) After that, it was called Oak and was developed as a part of
the Green project.
8. History of Java
Java history is interesting to know. 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.
9. Why Oak name for java language?
• 5) Why Oak? Oak is a symbol of strength and
choosen as a national tree of many countries
like U.S.A., France, Germany, Romania etc.
• 6) In 1995, Oak was renamed as "Java"
because it was already a trademark by Oak
Technologies.
10. Why Java name for java language?
• 8) Java is an island of Indonesia where first coffee
was produced (called java coffee).
• 9) Notice that Java is just a name not an acronym.
• 10) Originally developed by James Gosling at Sun
Microsystems (which is now a subsidiary of
Oracle Corporation) and released in 1995.
• 11) In 1995, Time magazine called Java one of
the Ten Best Products of 1995.
• 12) JDK 1.0 released in(January 23, 1996).
11. Why Java name for java language?
• 7) Why they choosed java name for java
language? The team gathered to choose a new
name. The suggested words were "dynamic",
"revolutionary", "Silk", "jolt", "DNA" etc. They
wanted something that reflected the essence of
the technology: revolutionary, dynamic, lively,
cool, unique, and easy to spell and fun to say.
• According to James Gosling "Java was one of the
top choices along with Silk". Since java was so
unique, most of the team members preferred
java.
12. Java Version History
• There are many java versions that has been released.
• 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)
13. Features of Java
• There is given many features of java. They are also known as java
buzzwords.
• Simple
• Object-Oriented
• Platform independent
• Secured
• Robust
• Architecture neutral
• Portable
• Dynamic
• Interpreted
• High Performance
• Multithreaded
• Distributed
14. Simple
According to Sun, Java language is simple because:
syntax is based on C++ (so easier for programmers to learn it after C++).
removed many confusing and/or rarely-used features e.g., explicit pointers,
operator overloading etc.
No need to remove unreferenced objects because there is Automatic Garbage
Collection in java.
15. Object-oriented
Object-oriented means we organize our software as a combination of different types
of objects that incorporates both data and behaviour.
Object-oriented programming(OOPs) is a methodology that simplify software
development and maintenance by providing some rules.
Basic concepts of OOPs are:
1.Object
2.Class
3.Inheritance
4.Polymorphism
5.Abstraction
6.Encapsulation
16. Platform Independent
• A platform is the hardware or software
environment in which a program runs. There
are two types of platforms software-based
and hardware-based. Java provides software-
based platform. The Java platform differs from
most other platforms in the sense that it's a
software-based platform that runs on top of
other hardware-based platforms.It has two
components:
17. 1.Runtime Environment
2.API(Application Programming Interface)
Java code can be run on multiple platforms e.g.Windows,Linux,Sun Solaris,Mac/OS etc.
Java code is compiled by the compiler and converted into bytecode.This bytecode is a
platform independent code because it can be run on multiple platforms i.e. Write
Once and Run Anywhere(WORA).
18. Secured
Java is secured because:
•No explicit pointer
•Programs run inside virtual machine sandbox.
19. •Classloader- adds security by separating the package for the classes of the local file
system from those that are imported from network sources.
•Bytecode Verifier- checks the code fragments for illegal code that can violate access
right to objects.
•Security Manager- determines what resources a class can access such as reading and
writing to the local disk.
These security are provided by java language. Some security can also be provided by
application developer through SSL,JAAS,cryptography etc.
20. Robust
• Robust simply means strong. Java uses strong
memory management. There are lack of
pointers that avoids security problem. There is
automatic garbage collection in java. There is
exception handling and type checking
mechanism in java. All these points makes java
robust.
21. Robust
• Robust simply means strong. Java uses strong
memory management. There are lack of
pointers that avoids security problem. There is
automatic garbage collection in java. There is
exception handling and type checking
mechanism in java. All these points makes java
robust.
24. High-performance
• Java is faster than traditional interpretation
since byte code is "close" to native code still
somewhat slower than a compiled language
(e.g., C++)
25. Distributed
• We can create distributed applications in java.
RMI and EJB are used for creating distributed
applications. We may access files by calling
the methods from any machine on the
internet.
26. Multi-threaded
• A thread is like a separate program, executing
concurrently. We can write Java programs that
deal with many tasks at once by defining
multiple threads. The main advantage of
multi-threading is that it shares the same
memory. Threads are important for multi-
media, Web applications etc.
27. Simple Program of Java
• In this page, we will learn how to write the
hello java program. We can write a simple
hello java program easily.
• To create a simple java program, you need to
create a class that contains main method.
Let's understand the requirement first.
28. Requirement for Hello Java Example
• For executing any java program, you need to
install the JDK if you don't have installed it,
download the JDK and install it.
• set path of the jdk/bin directory.
http://www.javatpoint.com/how-to-set-path-
in-java
• create the java program
• compile and run the java program
29. Creating hello java example
• Let's create the hello java program:
• class Simple{
• public static void main(String args[]){
• System.out.println("Hello Java");
• }
• }
30. • save this file as Simple.java
• To compile:javac Simple.java
• To execute:java Simple
• Output:Hello Java