100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Summary JAVA PROGAMMING LANGUAGE $10.49   Add to cart

Summary

Summary JAVA PROGAMMING LANGUAGE

 0 view  0 purchase
  • Course
  • Institution

Java is a widely-used programming language for coding web applications. It has been a popular choice among developers for over two decades, with millions of Java applications in use today. Java is a multi-platform, object-oriented, and network-centric language that can be used as a platform in it...

[Show more]

Preview 2 out of 8  pages

  • November 23, 2023
  • 8
  • 2023/2024
  • Summary
avatar-seller

Available practice questions

Flashcards 10 Flashcards
$13.49 0 sales

Some examples from this set of practice questions

1.

write a simple java program?

Answer: Simple.java class Simple { public static void main(String args[]){ System.out.println(\"Hello Java\"); } }

2.

write about Java OOPs Concepts?

Answer: OOPs (Object-Oriented Programming System) Object means a real-world entity such as a pen, chair, table, computer, watch, etc. Object-Oriented Programming is a methodology or paradigm to design a program using classes and objects. It simplifies software development and maintenance by providing some concepts: Object Class Inheritance Polymorphism Abstraction Encapsulation

3.

What is an object in Java?

Answer: object in Java An entity that has state and behavior is known as an object e.g., chair, bike, marker, pen, table, car, etc. It can be physical or logical (tangible and intangible). The example of an intangible object is the banking system. An object has three characteristics: State: represents the data (value) of an object. Behavior: represents the behavior (functionality) of an object such as deposit, withdraw, etc. Identity: An object identity is typically implemented via a unique ID. The value of the ID is not visible to the external user. However, it is used internally by the JVM to identify each object uniquely.

4.

object in java?

Answer: An object is an instance of a class. A class is a template or blueprint from which objects are created. So, an object is the instance(result) of a class. Object Definitions: An object is a real-world entity. An object is a runtime entity. The object is an entity which has state and behavior. The object is an instance of a class.

5.

what is class in java?

Answer: A class is a group of objects which have common properties. It is a template or blueprint from which objects are created. It is a logical entity. It can\'t be physical. A class in Java can contain: Fields Methods Constructors Blocks Nested class and interface

Java Tutorial
Our core Java programming tutorial is designed for students and working professionals. Java is an
object-oriented, class-based, concurrent, secured and general-purpose computer-programming
language. It is a widely used robust technology.



What is Java?
Java is a programming language and a platform. Java is a high level, robust, object-oriented and
secure programming language.



Java was developed by Sun Microsystems (which is now the subsidiary of Oracle) in the year 1995.
James Gosling is known as the father of Java. Before Java, its name was Oak. Since Oak was already a
registered company, so James Gosling and his team changed the name from Oak to Java.



Platform: Any hardware or software environment in which a program runs, is known as a platform.
Since Java has a runtime environment (JRE) and API, it is called a platform.

Java Example
Let's have a quick look at Java programming example. A detailed description of Hello Java example is
available in next page.



Simple.java

class Simple{

public static void main(String args[]){

System.out.println("Hello Java");

}

}

Output: Hello Java

, Application
According to Sun, 3 billion devices run Java. There are many devices where Java is currently used.
Some of them are as follows:

Desktop Applications such as acrobat reader, media player, antivirus, etc.

Web Applications such as irctc.co.in, javatpoint.com, etc.

1.Enterprise Applications such as banking applications.

2.Mobile

3.Embedded System

4.Smart Card

5.Robotics

6.Games, etc.

Types of Java Applications
There are mainly 4 types of applications that can be created using Java programming:



1) Standalone Application

Standalone applications are also known as desktop applications or window-based applications. These
are traditional software that we need to install on every machine. Examples of standalone
application are 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 a dynamic page is called a web application.
Currently, Servlet, JSP, Struts, Spring, Hibernate, JSF, etc. technologies are used for creating web
applications in Java.



3) Enterprise ApplicationAn application that is distributed in nature, such as banking applications,
etc. is called an enterprise application. It has advantages like high-level security, load balancing, and
clustering. In Java, EJB is used for creating enterprise applications.

4) Mobile Application

An application which is created for mobile devices is called a mobile application. Currently, Android
and Java ME are used for creating mobile applications.

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller hariabarna. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $10.49. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

83249 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$10.49
  • (0)
  Add to cart