🌐
Java Code Geeks
javacodegeeks.com › home › software development
Weird Funny Java! - Java Code Geeks
February 17, 2013 - A confusing piece of code here for you to parse. ;) int i = (byte) + (char) - (int) + (long) - 1; System.out.println(i); ... Reference: Java plus, Randomly not so random and Strine translator from our JCG partner Peter Lawrey at the Vanilla Java.
🌐
GeeksforGeeks
geeksforgeeks.org › java › interesting-and-cool-tricks-in-java
Interesting and Cool Tricks in Java - GeeksforGeeks
July 12, 2025 - Double Brace Initialization: In Java, collections such as sets, lists, maps, etc. does not have a simple and easy way to initialize the values during declaration. Developers either push values into the collection or creates a static block for the constant collection. Using double brace initialization, collections can be initialized during declaration with less efforts and time. ... </p><pre><code class="language-java"> import java.util.HashSet; import java.util.Set; public class GFG { public static void main(String[] args) { Set<String> GFG = new HashSet<String>() {{ add("DS"); add("ALGORITHMS
🌐
Amazon
amazon.com › Wicked-Cool-Java-Open-Source-Libraries › dp › 1593270615
Wicked Cool Java: Code Bits, Open-Source Libraries, and Project Ideas: Eubanks, Brian D.: 9781593270612: Amazon.com: Books
Wicked Cool Java contains 101 fun, interesting, and useful ways to get more out of Java. This isn't intended as a Java tutorial--it's targeted at developers and system architects who have some basic Java knowledge but may not be familiar with ...
🌐
Hackr
hackr.io › home › articles › projects
10 Best Java Projects for Beginners 2026 [With Source Code]
January 30, 2025 - Best Practices in Java: Write clean, efficient, and well-structured Java code, following best practices for software design, maintainability, and GUI development. ... In this Java project, you're going to build an email client application, allowing users to interact with their emails through a desktop interface. This is another Java project that I've designed to be a step-by-step tutorial, so you can follow along with me to build something practical, challenging, and quite cool!
🌐
Edureka
edureka.co › blog › java-programs
Best Java Programs for Practice: Beginners and Experienced
February 13, 2025 - This article on Java Programs for practice will strengthen your Java fundamentals like programs including palindrome, Fibonacci, factorial, and many more.
🌐
CodeProject
codeproject.com › Articles › 227478 › Cool-Java-Programs
Cool Java Programs - CodeProject
August 18, 2011 - These are Java Programs for typing on computer without physically typing, screen capture, AutoDownloader, etc.
Find elsewhere
🌐
Quora
quora.com › As-a-beginner-what-cool-programs-can-I-make-with-java
As a beginner what cool programs can I make with java? - Quora
Answer (1 of 7): * a simple casino game, like blackjack if that’s not enough program a program that is playing against the bank and “counting cards” - and wins by that Or: * an elevator simulator :) Yes, you heard right. It’s not so easy to write this but it’s rewarding.
🌐
Pinterest
pinterest.com › dedarulhasan › java-codes
25 Java codes ideas - Pinterest
http://www.javadeveloper.co.in/blog/java-array-arraylists -- How to create an array of ArrayLists, even though the general public seems to feel one shouldn't do this. This code works really nicely in Processing.
🌐
Devmio
devm.io › java › 15-useful-code-snippets-java-developers-131796
15 useful code snippets for Java developers
February 21, 2017 - In this article, Judy Alex, senior creative writer at Ingic.ae, identifies the top 15 useful code snippets for Java developers.
🌐
Java Code Geeks
examples.javacodegeeks.com › home
Java for Beginners, Java Programming Examples - Java Code Geeks
Learn Java online. Android development tutorials, Java tutorials for beginners, Java books, Scala, Groovy and JRuby news, tutorials, code examples and snippets, articles and more.
🌐
GitHub
gist.github.com › antimatter15 › 822345
A simple pinball game in java · GitHub
import javax.swing.JFrame; import javax.swing.JPanel; public class MainForGraphics1 { public static void main(String[] args) {
🌐
HackerNoon
hackernoon.com › 20-fun-diy-java-projects-to-fine-tune-your-skillset-7l5f3e26
20 Fun DIY Java Projects To Fine Tune Your Skillset | HackerNoon
October 9, 2020 - This is a rundown of amazing Java project ideas that will set off your career in programming. Given, there are dozens of projects that could help you learn or perfect some basic or complex Java tasks. But if you are a beginner who is rather skeptical about venturing out on your own, the projects ...
🌐
Learn Java
javatutoring.com › java-programs
Java Programs – 500+ Simple & Basic Programs With Outputs
February 25, 2026 - Out of 500+ Simple & Basic Java Programs: Hello world is a first-ever program which we published on our site. Of course, Every Java programmer or C programmer will start with a “Hello World Program”. Followed by the rest of the programs in different Categories. ... It converts the required part if the bytecode into its equivalent executable code.
🌐
Stack Overflow
stackoverflow.com › questions › 41093751 › determining-cool-numbers
java - Determining cool numbers? - Stack Overflow
import static java.lang.System.*; public class CoolNumbers · { public static boolean isCoolNumber( int num ) { int x; x = 6; for(x = 6; x<num; x++) { if ((x%3==1) && (x%4==1) && (x%5 ==1) && (x%6 == 1)) return true; } return false; } public static ...
🌐
Great Learning
mygreatlearning.com › blog › it/software development › 30 java project ideas for all levels (with source code)
30 Java Project Ideas for All Levels (With Source Code)
September 11, 2025 - Practical Java projects with source code, grouped by level. See what you’ll learn, required tools, and prerequisites.
🌐
Codecademy
codecademy.com › home › 12 java code challenges for beginners
12 Java Code Challenges for Beginners
January 21, 2025 - Write a Java program that returns the sum of two numbers. The numbers to be summed may be integers, rational numbers, real numbers, or complex numbers. For example, the input 289 + 398 should output 687. Along with being a fun, low-stress way to test your knowledge of a programming language, code challenges play an important role in helping you prepare for the interview process.
🌐
DataCamp
datacamp.com › blog › java-projects-for-all-levels
14 Java Projects For All Levels: Beginner, Intermediate, & Advanced | DataCamp
September 22, 2024 - IntelliJ IDEA is an advanced IDE that supports various programming languages, including Java, and offers features like AI code generation, refactoring, and debugging. It also has a robust community edition that's free to use.