WWW Geeksforgeeks Org Java
WWW Geeksforgeeks Org Java
WWW Geeksforgeeks Org Java
Data Structures Algorithms Interview Preparation Topic-wise Practice C++ Java Python Competitive Programming Machine Learning HTML SDE Sheet Puzzles GFG School
Basics
Practice Problems, POTD
Java Programming Language
Java Programming Language Streak, Weekly Contests
& More!
Last Updated : 05 Aug, 2022
View Details
Introduction to Java
Java Identifiers
Java is one of the most popular and widely used programming languages.
Comments in Java The Java codes are first compiled into byte code (machine-independent code). Then the
byte code runs on Java Vir tual Machine (JVM) regardless of the underlying architecture.
Operators in Java Java syntax is similar to C/C++. But Java does not provide low-level programming
functionalities like pointers. Also, Java codes are always written in the form of classes and
in Java Java is used in all kinds of applications like Mobile Applications (Android is Java-based),
desk top applications, web applications, client-ser ver applications, enterprise applications,
Flow Control
and many more.
When compared with C++, Java codes are generally more maintainable because Java does
Strings
not allow many things which may lead to bad/inefficient programming if used incorrectly. For
example, non-primitives are always references in Java. So we cannot pass large object s
Arrays
(like we can do in C++) to functions, we always pass references in Java. One more example,
since there are no pointers, bad memor y access is also not possible.
Methods When compared with P ython, Java kind of fit s between C++ and P ython. The programs are
written in Java typically run faster than corresponding P ython programs and slower than
Constructors C++. Like C++, Java does static type checking, but P ython does not.
WHAT'S NEW
OOP Concepts Data Structures &
Algorithms- Self Paced
Course
Exception Handling
View Details
Interfaces & Abstract Classes
Complete Interview
Preparation- Self Paced
Collections Course
View Details
Multithreading
Simple Hello World Program :
Output :
Hello World
Skip to content
Start Your Coding Journey Now!
Overview, Basic s, Input/Output, Flow Control, Operators, Strings, Arrays, OOPs Concepts,
Login
Inheritance, A bstraction, Encapsulation, Polymorphism, Constructors, Methods, Interfaces,
Register
Wrapper Classes, Keywords, Access Modifiers, Memory Allocation, Classes, Packages,
Synchronization, File Handling, Regex, Java IO, Networking, Java 8 Features, Date & Time,
Overview of Java
Introduction to Java
Packages in Java
Histor y of Java
Windows?
java.io package
Machine Code
How to learn Java collections
Basics of Java
Map Inter face in Java
Set in Java
Datatypes in Java
Difference between Comparator and
Primitive Datatypes
Java Identifiers
List
Operators in Java
Java Variables
ArrayList in Java
Scope of Variables
Vector class in Java
LinkedList in Java
Input/Output in Java
A bstractList
A bstractSequentialList
Queue
Scanner vs BufferedReader in Java
Java
ConcurrentLinkedQueue
Programming in Java
PriorityBlockingQueue
Deque in Java
Concurrent LinkedDeque
If Statement in Java
Priority Queue in Java
Map
If-Else-If ladder in Java
Loops in Java
For loop
EnumMap
While Loop
HashMap
Do while loop
Working of HashMap
Dictionar y
Operators in Java
HashTable
Sor tedMap
Arithmetic Operator
TreeMap
Unar y Operator
Skip to content
Stack
Start Your Coding Journey Now!
A ssignment Operator Vector
Relational Operator
Login Register
Logical Operator Set
Ternar y Operator
EnumSet
TreeSet
Difference between Inheritance in C++ and Difference between Atomic, Volatile, and
Deadlock in Multithreading
File Writer
RandomAccessFile class
Matcher class
Quantifiers
Reader Class
FileInput stream
UDP architecture
Streams API
Skip to content
Introduction to Reflection API
Access Modifiers in Java
Start Your Coding Journey Now!
Java IO Tutorial
Login
JavaFX Tutorial
Register
Introduction to Access Modifiers in Java Java RMI
in Java
Interview Questions on Java
Set – 1 | Set – 2
How are Java object s stored in memor y 10 Most A sked Questions on Java
Classes of Java
GeeksforGeeks Courses:
Do you really think that you need some prior programming knowledge to learn JAVA? Well,
we don’t think so! Now you can star t learning JAVA from scratch with so much ease with our
Java Programming Foundation Course. A self-paced course to help you learn about JAVA
basic concepts, data types, operators, functions & much more. To star t your learning
Live Courses
Get best-in-industr y real-time GFG Live Courses to upgrade yourself and get into your
dream company. You can attend these live classes from any geographical location and here
you can ask your doubts to the instructor just like an offline classroom program. Do check out
these wor thwhile Live Courses by Geek sforGeek s- System Design Live, Competitive
Skip to content
StartCompany
Your CodingLearn
Journey Now! News Login Languages
RegisterWeb Development Contribute
A-143, 9th Floor, Sovereign Corporate Tower, About Us Algorithms Python Web Tutorials Write an Article
Sector-136, Noida, Uttar Pradesh - 201305 Top News
[email protected] Careers Data Structures Java Django Tutorial Improve an Article
Technology
In Media SDE Cheat Sheet CPP HTML Pick Topics to Write
Work & Career
Contact Us Machine learning Golang JavaScript Write Interview Experience
Business
Privacy Policy CS Subjects C# Bootstrap Internships
Finance
Copyright Policy Video Tutorials SQL ReactJS Video Internship
Lifestyle
Courses Kotlin NodeJS
Knowledge
@geeksforgeeks
, Some rights reserved