/$$ /$$ /$$ /$$
| $$ | $$ /$$/ | $$
| $$ /$$$$$$ /$$$$$$ /$$$$$$ /$$$$$$$ | $$ /$$/ /$$$$$$ /$$ /$$
| $$ /$$__ $$ |____ $$ /$$__ $$| $$__ $$ | $$$$$/ |_ $$_/ | $$ | $$
| $$ | $$$$$$$$ /$$$$$$$| $$ \__/| $$ \ $$ | $$ $$ | $$ | $$ | $$
| $$ | $$_____/ /$$__ $$| $$ | $$ | $$ | $$\ $$ | $$ /$$| $$ | $$
| $$$$$$$$| $$$$$$$| $$$$$$$| $$ | $$ | $$ | $$ \ $$ | $$$$/| $$$$$$/
|________/ \_______/ \_______/|__/ |__/ |__/ |__/ \__/ \___/ \______/
/$$$$$
|__ $$
| $$ /$$$$$$ /$$ /$$ /$$$$$$
| $$ |____ $$| $$ /$$/ |____ $$
/$$ | $$ /$$$$$$$ \ $$/$$/ /$$$$$$$
| $$ | $$ /$$__ $$ \ $$$/ /$$__ $$
| $$$$$$/| $$$$$$$ \ $/ | $$$$$$$
\______/ \_______/ \_/ \_______/
/$$ /$$ /$$ /$$ /$$ /$$$$$$$$ /$$
| $$ /$ | $$|__/ | $$ | $$ | $$_____/ | $$
| $$ /$$$| $$ /$$ /$$$$$$ | $$$$$$$ | $$ /$$$$$$ /$$$$$$$ /$$$$$$ | $$
| $$/$$ $$ $$| $$|_ $$_/ | $$__ $$ | $$$$$ |____ $$ /$$_____/ /$$__ $$ | $$
| $$$$_ $$$$| $$ | $$ | $$ \ $$ | $$__/ /$$$$$$$| $$$$$$ | $$$$$$$$ |__/
| $$$/ \ $$$| $$ | $$ /$$| $$ | $$ | $$ /$$__ $$ \____ $$| $$_____/
| $$/ \ $$| $$ | $$$$/| $$ | $$ | $$$$$$$$| $$$$$$$ /$$$$$$$/| $$$$$$$ /$$
|__/ \__/|__/ \___/ |__/ |__/ |________/ \_______/|_______/ \_______/ |__/
I would like to start by thanking my teacher Ms.Divya John for giving me the best introduction to the Java world.
This repo consists of my work on Java and the simple programs which i had done inorder to learn Java.
To be specific my aim was to familiarize with the APJ Abdul Kalam Technological University's (initially Kerala Technological University(KTU)) syllabus for Java.
Created this repository with the aim of helping out my friends and others to understand the basics of Java and to understand its scope by doing some programs.
- Java SE Development Kit(JDK) --> Install JDK
- For coding make use of IDEs like IntelliJ
or Text Editors like Sublime Text
or the classic and powerful command line editor Vim which i use.Β―\_(γ)_/Β―
Assuming that you've already installed the above requirements and it is in a working condition. Then:-
- Fork the repository(optional)
- Clone/Download the files into your local machine
Set up git in your local machine
Then from command line create a clone in your local machine by:-Follow this documentationgit clone https://github.com/yedhink/KTU-Java.git
In the programs that I've done, I have covered and most importantly used concepts such as:
- Classes and Objects
- Operators and their Precedence
- Packages
- Method Overiding and Overloading
- Static Instances
- Threads
- String
- Streams and IO
- Exception Handling
- AWT
- Applet
- Swing
- File Handling
- Event Handling
- Data Structures
- Interfaces
- Arrays
- JDBC
1) EastKtuMath
βββββ Numerical Integration using Trapezoidal or Simpsons Methods
βββββ Get all the math steps as output (optional)
βββββ Streams for IO
βββββ An exquisite expression parser included within
βββββ And yes you guessed it right! I used to do all my math assignements this way. :D
2) Threads
βββββ By Runnable Interface
βββββ By Extending Thread Class
βββββ Runnable Interface in Main
βββββ Synchronization
βββββ Some fine practice problems
3) EventHandling
βββββ Creates a simple login Graphical User Interface(GUI)
βββββ Creates an Applet program to add 2 numbers
βββββ Covers basics of java.awt,java.applet and some of Swing
βββββ Learn basics of Listeners and Events
βββββ Basics from this required in upcoming programs
4) Overloading and Overriding
βββββ Learn the basics of Overloading,Overriding
βββββ Dynamic Method Dispatching
βββββ What's super() and what is "this"? You will see
βββββ Basics of jump statements
βββββ Interfaces and Implementation
βββββ Basics of Packages
βββββ File Handling basics
5) S3CsSgpa
βββββ Well? Want to apply what you've learnt? This is your opportunity.
βββββ Creates a simple GUI to find your SGPA
βββββ Sorting
βββββ Data Structures
βββββ Provides a great idea on javax.swing(the 'x' matters :p)
βββββ Love designing? Play with java.awt.Color
6) Data Types And Operators
βββββ Must needed basics. Dont miss this one.
βββββ Different Data Types
βββββ Type Casting
βββββ Parsing Data Types
βββββ Assignment
βββββ Arithmetic
βββββ Unary
βββββ Relational
βββββ TypeComparison
βββββ Bitwise
βββββ Conditional
7) 2darray
βββββ Learn inputting into a 2d Array
βββββ Addition of Matrices
βββββ Multiplication of Matrices
8) Loops
βββββ The name itself suggests what this offers :p
βββββ For loops
βββββ if-else-if statements
9) Abstract Keyword
βββββ What is the "abstract" keyword?
βββββ An example to explain in detail.
10) JDBCTemplate
βββββ Java Database Connectivity
βββββ Basics of mysql
βββββ Basics of JDBC
βββββ Reading and writing from DB
Now what you waiting for? Compile all the *.java files and run it.
If you're using an IDE like Intellij then i suggest you follow this documentation.
For all others, the most easiest way would be to fire up your Terminal Emulator or Command Line(cmd) for Windows users and change directory (eg:- cd S3CsSgpa) into the one of the directories in my repo.
Then compile into the same directory (which the "." represents) by:
javac -d . *.javaAfter creating the compiled .class file, just run it using (avoid the .class extension):
java classWhichConsistsOfMainMethodWhat if it's part of a Package? No problemo. After compiling, run:
java nameOfPackage.filenameHave you been looking for open source repositories to contribute? Look no further! You have come to the right place. It's important to stick on to the Contribution guidelines while contributing. Try and complete the TODO list. Let's work together :)
- Java Database Connectivity(JDBC) -> Basics and Implementaion
- Make the Graphical User Interfaces look better
- Applets -> Undone since it's deprecated from JDK 9
- Basics and exmaples of abstract keyword
- 2-D array and examples
- Standalone examples for Operators and their Precedence
Having issues in the program? Open up an issue in the issues counter, so that I could know about it.
Feel free to contact me via Linkedin if you have any questions.
Oracle Java Documentation, tutorialspoint were great references.
This project is licensed under the MIT License - see the LICENSE.md file for details
Liked the project? Just give it a star β and spread the word!

