Monday, 9 February 2026

SUDOKU - Just for fun!

Sudoku Game

On the launch of an application user is presented with three options: Easy, Medium and Hard. Easy has 30 numbers on board, medium has 50 and hard option will have only 20 numbers on board. Once the difficulty is selected user will be presented with a Sudoku board. Below the board there will be numbers which one can select to fill the blank spaces on the board. Note that only the correct number can be placed on the specific spot. Once the user fills all the blank spots on the board, means he has correctly solved the puzzle.

Number systems and Conversions

Decimal to Hex Converter

Decimal to Hexadecimal Converter

Hexadecimal value:

Hex to Decimal Converter

Hex to Decimal Converter

Decimal Value:

Binary to Decimal Converter

Binary to Decimal Converter

Decimal Equivalent:
</!doctype>

Thursday, 11 December 2025

Tutorial on Java classes and objects

 Java Classes and Objects:

Classes and objects both are treated in similar way in all programming languages. Java is not exception.

Understanding classes and objects with real world example


Consider a physical class room with lot of real world objects. What we Observe in class room..?

  • Chairs 
  • Table
  •  Students
  •  Teacher
  •  Black board
  • Markers and Erasers etc


So, a programmer needs to instruct the computer, how to create a class room object and it's subsequent objects. like, chair, table, teacher and student etc.

If programmer wants to create or develop a School application, he would need to create:

  • class room object
  • Office room object,
  • Student object,
  • Stationary object
  • Play room object etc


Let us now create School application with above mentioned objects and classes using java programming language.


To create Objects, first of all, we have to create respective classes in java


public class School_Application{

     public Student students;

     public Teacher teachers;

     public ClassRoom classRoom;

      public School_Application(Student students, Teacher teachers, ClassRoom classRoom){

          this.students = students; 

          this.teachers = teachers; 

          this.classRoom = classRoom;

   }

}

Subsequently, programmer needs to create, Student, Teacher and ClassRoom classes and respective objects in main() method.


Objects in java are created using new operator. Example:

School_Application app = new School_Application(student, teachers, classRoom);


Happy coding! :)

Tutorial on Swing Components

 Swing library and it's categorization of components and controls Basically, Swing library provides around 50+ components. These all com...