Courses
Tutorials
Practice
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Java
10.5K+ articles
Java-Functions
4.1K+ articles
Java Programs
1.9K+ articles
Java - util package
1.5K+ articles
Java-Collections
1.1K+ articles
Java-time package
583+ articles
Java-lang package
403+ articles
Java 8
118+ articles
java-interfaces
77+ articles
Java-StringBuilder
35+ articles
java-basics
320+ posts
Recent Articles
Popular Articles
Java Fundamentals Coding Practice Problems
Last Updated: 05 March 2025
Understanding Java fundamentals is the first step to becoming a proficient Java programmer. This collection of Java basic coding practice problems covers essential topics ...
read more
Java
java-basics
Practice Questions
Why Java is Secure?
Last Updated: 14 August 2024
Java, a programming language developed by Sun Microsystems, which is a property of Oracle Corporation now, is considered to be maximally protected from moments of vulnerab...
read more
GBlog
java-basics
Picked
GBlog 2024
Difference between Servlet and JSF
Last Updated: 09 July 2024
ServletServlets are Java programs that run on a server and handle client requests to generate dynamic web content. They operate at a lower level within the Java EE framewo...
read more
Java
java-basics
java-servlet
Introduction to Java Mission Control for JVM Monitoring
Last Updated: 27 May 2024
Java Mission Control (JMC) is a powerful monitoring, diagnostics, and performance analysis tool. Oracle provides this to run the Java applications on the Java Virtual Mach...
read more
Java
java-basics
Java Exercises - Basic to Advanced Java Practice Programs with Solutions
Last Updated: 02 January 2025
Looking for Java exercises to test your Java skills, then explore our topic-wise Java practice exercises? Here you will get 25 plus practice problems that help to upscale...
read more
Output of Java Program
Java
Java-Library
Java-Output
Java-I/O
java-basics
Java-Object Oriented
Java-Strings
Java-Arrays
Java-Data Types
Java-Functions
Java Programs
Java Program to Sort Items By Weight
Last Updated: 29 December 2023
Given two array items and weights which denotes items and their respective weights. Both arrays are of equal length. For every index 'i', items[i] and weights[i] represent...
read more
Java
java-basics
Java-Object Oriented
Java-Class and Object
Java Programs
java-priority-queue
What will happen if i declare main() in java as non-static?
Last Updated: 27 December 2023
main() method in Java acts as an application's entry point. So declaration must read "public static void main(String[] args)" to work properly . What happens if you declar...
read more
GFacts
Java-Collections
java-basics
DSA
carriage return in Java
Last Updated: 24 October 2023
In Java, carriage return is represented as the escape sequence \r and is used to move the cursor to the beginning of the current line without continuing to next line. When...
read more
Java
java-basics
What is Core Java?
Last Updated: 02 January 2025
Java is a programming language that is class-based and object-oriented. It is designed to be general-purpose and aims to have fewer implementation dependencies, and serve...
read more
Java
GBlog
java-basics
Picked
Java - symbolic constants
Last Updated: 14 May 2023
In Java, a symbolic constant is a named constant value defined once and used throughout a program. Symbolic constants are declared using the final keyword.Which indicates ...
read more
Java
java-basics
How to Run Java Program?
Last Updated: 22 September 2023
Java is a popular, high-level, object-oriented programming language that was developed by James Gosling and his team at Sun Microsystems (now owned by Oracle Corporation) ...
read more
Java
java-basics
Why Java is Called a Compiler Interpreter Language?
Last Updated: 02 February 2023
Java is both a compiled and interpreted programming language. Because it employs both compilation and interpretation to run code, it is known as a "compiler-interpreter la...
read more
Java
Technical Scripter
java-basics
Technical Scripter 2022
What are the Roles of Java Compiler and Interpreter?
Last Updated: 18 August 2022
Compiler and Interpreter are two different ways to translate a program from programming or scripting language to machine language. In this article let's discuss on what ar...
read more
Java
java-basics
Coercion in Java
Last Updated: 25 February 2022
Conversion of one data type to another is nowadays easy as many languages including Java supports the conversion as a convenience to the programmer. Here conversion can be...
read more
Java
java-basics
Rules For Variable Declaration in Java
Last Updated: 15 June 2022
Variable in Java is a data container that saves the data values during Java program execution. Every variable is assigned a data type that designates the type and quantity...
read more
Java
java-basics
1
2
3
4
...
22
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !