{"id":13808060,"url":"https://github.com/yedhink/KTU-Java","last_synced_at":"2025-05-14T02:31:10.762Z","repository":{"id":111701745,"uuid":"130677484","full_name":"yedhink/KTU-Java","owner":"yedhink","description":"Learn Java easily. A collection of simple programs primarily focusing on the KTU syllabus for Java","archived":false,"fork":false,"pushed_at":"2020-09-30T20:05:24.000Z","size":2059,"stargazers_count":12,"open_issues_count":1,"forks_count":15,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-14T01:50:41.793Z","etag":null,"topics":["awt","java","javafx-application","jdk9","ktu","learn-java","simple-programs","swing-gui"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yedhink.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-04-23T10:06:25.000Z","updated_at":"2024-07-28T20:03:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"f4bfc766-944d-486b-8c3c-c3fbb0ce25c3","html_url":"https://github.com/yedhink/KTU-Java","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yedhink%2FKTU-Java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yedhink%2FKTU-Java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yedhink%2FKTU-Java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yedhink%2FKTU-Java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yedhink","download_url":"https://codeload.github.com/yedhink/KTU-Java/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225273208,"owners_count":17448070,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["awt","java","javafx-application","jdk9","ktu","learn-java","simple-programs","swing-gui"],"created_at":"2024-08-04T01:01:34.377Z","updated_at":"2024-11-19T00:30:31.909Z","avatar_url":"https://github.com/yedhink.png","language":"Java","readme":"```\n /$$                                                     /$$   /$$   /$$                     \n| $$                                                    | $$  /$$/  | $$                     \n| $$        /$$$$$$   /$$$$$$   /$$$$$$  /$$$$$$$       | $$ /$$/  /$$$$$$   /$$   /$$       \n| $$       /$$__  $$ |____  $$ /$$__  $$| $$__  $$      | $$$$$/  |_  $$_/  | $$  | $$       \n| $$      | $$$$$$$$  /$$$$$$$| $$  \\__/| $$  \\ $$      | $$  $$    | $$    | $$  | $$       \n| $$      | $$_____/ /$$__  $$| $$      | $$  | $$      | $$\\  $$   | $$ /$$| $$  | $$       \n| $$$$$$$$|  $$$$$$$|  $$$$$$$| $$      | $$  | $$      | $$ \\  $$  |  $$$$/|  $$$$$$/       \n|________/ \\_______/ \\_______/|__/      |__/  |__/      |__/  \\__/   \\___/   \\______/          \n                                                                                             \n                                                                                             \n                                                                                             \n                            /$$$$$                                                           \n                           |__  $$                                                           \n                              | $$  /$$$$$$  /$$    /$$  /$$$$$$                             \n                              | $$ |____  $$|  $$  /$$/ |____  $$                            \n                         /$$  | $$  /$$$$$$$ \\  $$/$$/   /$$$$$$$                            \n                        | $$  | $$ /$$__  $$  \\  $$$/   /$$__  $$                            \n                        |  $$$$$$/|  $$$$$$$   \\  $/   |  $$$$$$$                            \n                         \\______/  \\_______/    \\_/     \\_______/                              \n                                                                                             \n                                                                                             \n                                                                                             \n /$$      /$$ /$$   /$$     /$$             /$$$$$$$$                                     /$$\n| $$  /$ | $$|__/  | $$    | $$            | $$_____/                                    | $$\n| $$ /$$$| $$ /$$ /$$$$$$  | $$$$$$$       | $$        /$$$$$$   /$$$$$$$  /$$$$$$       | $$\n| $$/$$ $$ $$| $$|_  $$_/  | $$__  $$      | $$$$$    |____  $$ /$$_____/ /$$__  $$      | $$\n| $$$$_  $$$$| $$  | $$    | $$  \\ $$      | $$__/     /$$$$$$$|  $$$$$$ | $$$$$$$$      |__/\n| $$$/ \\  $$$| $$  | $$ /$$| $$  | $$      | $$       /$$__  $$ \\____  $$| $$_____/          \n| $$/   \\  $$| $$  |  $$$$/| $$  | $$      | $$$$$$$$|  $$$$$$$ /$$$$$$$/|  $$$$$$$       /$$\n|__/     \\__/|__/   \\___/  |__/  |__/      |________/ \\_______/|_______/  \\_______/      |__/  \n```\n                                                                                                                                                                                       \n# Made with ❤ by yours truly \n\n# Acknowledgement\nI would like to start by thanking my teacher Ms.Divya John for giving me the best introduction to the Java world.\n\n# Introduction\nThis repo consists of my work on Java and the simple programs which i had done inorder to learn Java.  \n\nTo be specific my aim was to familiarize with the APJ Abdul Kalam Technological University's (initially Kerala Technological University(KTU)) [syllabus](https://drive.google.com/file/d/0B9ojglPaasIEUUFuSVRXbDlZTEk/view) for Java.  \n\nCreated 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. \n\n# Requirements\n1. Java SE Development Kit(JDK) --\u003e [Install JDK](https://www.codenotfound.com/java-download-install-jdk-8-windows.html)\n1. For coding make use of IDEs like [IntelliJ](https://www.jetbrains.com/idea/download/index.html#section=linux)  \n   or Text Editors like [Sublime Text](https://www.sublimetext.com/3)  \n   or the classic and powerful command line editor [Vim](https://www.vim.org/download.php) which i use. `¯\\_(ツ)_/¯`\n\n# How to use my repositiory? \nAssuming that you've already installed the above requirements and it is in a working condition. Then:-    \n1. Fork the repository(optional)\n1. Clone/Download the files into your local machine  \n   ###### For Linux Users :-  \n   [Set up git](https://help.github.com/articles/set-up-git/) in your local machine  \n   Then from command line create a clone in your local machine by:-  \n   ```bash\n   git clone https://github.com/yedhink/KTU-Java.git\n   ```\n   ###### For Other Users :-\n   Follow this [documentation](https://help.github.com/articles/cloning-a-repository/)\n\n# Content\nIn the programs that I've done, I have covered and most importantly used concepts such as:\n\n1. [Classes and Objects](https://www.tutorialspoint.com/java/java_object_classes.htm)\n1. [Operators and their Precedence](https://docs.oracle.com/javase/tutorial/java/nutsandbolts/operators.html)\n1. [Packages](https://www.tutorialspoint.com/java/java_packages.htm)\n1. [Method Overiding and Overloading](https://www.programcreek.com/2009/02/overriding-and-overloading-in-java-with-examples/) \n1. [Static Instances](https://www.javatpoint.com/static-keyword-in-java) \n1. [Threads](https://www.javaworld.com/article/2077138/java-concurrency/introduction-to-java-threads.html) \n1. [String](https://www.tutorialspoint.com/java/java_strings.htm) \n1. [Streams and IO](https://docs.oracle.com/javase/1.5.0/docs/api/java/io/package-summary.html) \n1. [Exception Handling](https://docs.oracle.com/javase/tutorial/essential/exceptions/) \n1. [AWT](https://www.javatpoint.com/java-awt) \n1. [Applet](https://docs.oracle.com/javase/tutorial/deployment/applet/) \n1. [Swing](http://zetcode.com/tutorials/javaswingtutorial/) \n1. [File Handling](http://www.dailyfreecode.com/code/file-handling-java-3430.aspx) \n1. [Event Handling](https://docs.oracle.com/javase/tutorial/uiswing/events/index.html) \n1. [Data Structures](http://java.wikia.com/wiki/Data_Structures)\n1. [Interfaces](https://docs.oracle.com/javase/tutorial/java/IandI/createinterface.html)\n1. [Arrays](https://docs.oracle.com/javase/tutorial/java/nutsandbolts/arrays.html)\n1. [JDBC](https://docs.oracle.com/javase/tutorial/jdbc/basics/index.html)\n\n## A bit about what each directory in my repo has to offer\n\n```\n1) EastKtuMath\n\t└──── Numerical Integration using Trapezoidal or Simpsons Methods\n\t└──── Get all the math steps as output (optional)\n\t└──── Streams for IO \n\t└──── An exquisite expression parser included within\n\t└──── And yes you guessed it right! I used to do all my math assignements this way. :D\n\n2) Threads\n\t└──── By Runnable Interface \n\t└──── By Extending Thread Class\n\t└──── Runnable Interface in Main\n\t└──── Synchronization\n\t└──── Some fine practice problems\n\n3) EventHandling\n\t└──── Creates a simple login Graphical User Interface(GUI)\n\t└──── Creates an Applet program to add 2 numbers \n\t└──── Covers basics of java.awt,java.applet and some of Swing\n\t└──── Learn basics of Listeners and Events\n\t└──── Basics from this required in upcoming programs\n\n4) Overloading and Overriding\n\t└──── Learn the basics of Overloading,Overriding\n\t└──── Dynamic Method Dispatching \n\t└──── What's super() and what is \"this\"? You will see\n\t└──── Basics of jump statements\n\t└──── Interfaces and Implementation\n\t└──── Basics of Packages\n\t└──── File Handling basics\n\n5) S3CsSgpa      \n\t└──── Well? Want to apply what you've learnt? This is your opportunity. \n\t└──── Creates a simple GUI to find your SGPA\n\t└──── Sorting \n\t└──── Data Structures \n\t└──── Provides a great idea on javax.swing(the 'x' matters :p) \n\t└──── Love designing? Play with java.awt.Color\n\n6) Data Types And Operators     \n\t└──── Must needed basics. Dont miss this one.  \n\t└──── Different Data Types  \n\t└──── Type Casting  \n\t└──── Parsing Data Types  \n\t└──── Assignment  \n\t└──── Arithmetic\n\t└──── Unary\n\t└──── Relational\n\t└──── TypeComparison \n\t└──── Bitwise \n\t└──── Conditional \n\n7) 2darray      \n\t└──── Learn inputting into a 2d Array \n\t└──── Addition of Matrices \n\t└──── Multiplication of Matrices \n\n8) Loops      \n\t└──── The name itself suggests what this offers :p \n\t└──── For loops\n\t└──── if-else-if statements \n\n9) Abstract Keyword      \n\t└──── What is the \"abstract\" keyword? \n\t└──── An example to explain in detail.\n\n10) JDBCTemplate      \n\t└──── Java Database Connectivity \n\t└──── Basics of mysql \n\t└──── Basics of JDBC \n\t└──── Reading and writing from DB \n```      \n\n# What's next?\nNow what you waiting for? Compile all the `*.java` files and run it.  \n\nIf you're using an IDE like Intellij then i suggest you follow this [documentation](https://www.jetbrains.com/help/idea/2017.1/creating-running-and-packaging-your-first-java-application.html).  \n\nFor 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.  \n\nThen compile into the same directory (which the \".\" represents) by:\n\n```bash\njavac -d . *.java\n```\n\nAfter creating the compiled .class file, just run it using (avoid the .class extension):\n\n```bash\njava classWhichConsistsOfMainMethod\n```\n\nWhat if it's part of a Package? No problemo. After compiling, run:\n\n```bash\njava nameOfPackage.filename\n```\n\n# Overviews\n![](https://github.com/yedhink/KTU-Java/blob/master/.gif/EasyKtuMath.gif \"Run the Main class only\")\n\n### Your SGPAs a click away...\n![](https://github.com/yedhink/KTU-Java/blob/master/.gif/S3CsSgpa.gif \"CheckSgpa\")\n\n# Contribute\nHave you been looking for open source repositories to contribute? Look no further! You have come to the right place. \nIt's important to stick on to the [Contribution guidelines](https://github.com/yedhink/KTU-Java/blob/master/CONTRIBUTING.md) while contributing.\nTry and complete the TODO list. Let's work together :)\n\n## TODO list\n\n- [x] Java Database Connectivity(JDBC) -\u003e Basics and Implementaion\n- [ ] Make the Graphical User Interfaces look better\n- [x] Applets -\u003e Undone since it's deprecated from JDK 9\n- [x] Basics and exmaples of abstract keyword\n- [x] 2-D array and examples\n- [x] Standalone examples for Operators and their Precedence\n\n# Contact\nHaving issues in the program? Open up an issue in the issues counter, so that I could know about it.\n\nFeel free to contact me via [Linkedin](https://www.linkedin.com/in/yedhin1998/) if you have any questions.\n\n# Credits\n[Oracle Java Documentation](http://www.oracle.com/technetwork/java/javase/overview/index.html), [tutorialspoint](https://www.tutorialspoint.com/index.htm) were great references.\n\n## License  \nThis project is licensed under the MIT License - see the [LICENSE.md](https://github.com/yedhink/KTU-Java/blob/master/LICENSE) file for details\n\n## Spread the word\nLiked the project? Just give it a star :star: and spread the word!\n","funding_links":[],"categories":["Java"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyedhink%2FKTU-Java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyedhink%2FKTU-Java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyedhink%2FKTU-Java/lists"}