Learn Java, Earn $CODE

Master Java programming concepts and earn rewards on the Solana blockchain.

Test Your Knowledge

Leaderboard

Not connected
Points: 0
# Wallet Points Sections Completed
Connect your wallet to view the leaderboard

About Us

Learn Java. Earn Rewards.

Codedotfun is an interactive learning platform designed to teach Java programming in an engaging and rewarding way. Whether you're a beginner or an experienced developer, our structured modules will help you master Java step by step.

How It Works

📚 20 structured modules covering essential Java topics.
🎯 Practice exercises and quizzes after each module to reinforce learning.
🏆 Earn $CODE tokens by completing modules successfully.
🔐 Unlock new modules for free by passing quizzes or by paying with $CODE.

Why Choose Codedotfun?

🚀 Gamified Learning – Stay motivated with rewards and track your progress on the leaderboard.
💡 Solana-Powered – Integrated with Solana blockchain to provide a seamless Web3 experience.
🎓 From Basics to Advanced – Start with programming fundamentals and progress to OOP, Streams, and more.

Get Started

1️⃣ Connect your Solana wallet
2️⃣ Start learning and practicing
3️⃣ Earn and use $CODE to unlock new content

Join the Codedotfun community and take your Java skills to the next level! 🚀

Our Learning Path:

  • Introduction to Computer & Programming
  • Variables & Data Types
  • Operators
  • Selection Statements
  • Loops
  • Methods
  • Class & Objects
  • String Class
  • Arrays
  • ArrayList
  • Class & Objects Part 2
  • OOP
  • OOP Inheritance
  • OOP Abstraction
  • Exception & Errors
  • Collections Framework
  • Maps
  • Enum and Generics
  • Functional Interface & Lambda
  • Stream API

Code Practice

Sharpen your Java skills by solving coding problems. Choose a category to get started.

Basic Problems

Simple problems to practice fundamental concepts

15 problems

String Manipulation

Problems focused on string operations

12 problems

Array Problems

Practice array manipulation and algorithms

10 problems

Recursion

Solve problems using recursive approaches

8 problems

Logic Problems

Practice boolean logic and decision making

14 problems

Functional Programming

Problems using lambdas and streams

7 problems

Sum of Two Numbers

Write a method that takes two integers as parameters and returns their sum.

Examples:
sum(3, 4) → 7
sum(-1, 1) → 0
sum(0, 0) → 0
Code Editor
// Output will appear here after running your code