diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md deleted file mode 100644 index f6062c0..0000000 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ /dev/null @@ -1,16 +0,0 @@ -Please make sure that these boxes are checked before submitting your pull request - Thank you ! - -- [] Run unit tests to make sure you didn't break anything - -- [] If you have multiple commits, please combine them into a single commit by squashing them. - -- [] Please attach GIF/Screenshot(s) showing the changes you have made. - -**Issue Reference :** - -Please provide a reference to the related issue here, if present. -E.g- #IssueNumber - -**GIF/Screenshots :** - -Attach GIF/Screeshots here diff --git a/.github/issue_template.md b/.github/issue_template.md deleted file mode 100644 index 11391fa..0000000 --- a/.github/issue_template.md +++ /dev/null @@ -1,19 +0,0 @@ -**Summary:** - -Summarize your issue here, preferably in one sentence (what went wrong, what should have happened instead) - -**Steps to reproduce the issue:** - -How can we reproduce the issue? - -**Expected behavior:** - -What did you expect the website to do? - -**Observed behavior:** - -What did you see instead? Describe your issue in detail here. - -**GIF/Screenshots:** - -Attach GIF/Screeshots of the issue here diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 5241a72..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -*.class \ No newline at end of file diff --git a/Assignments/Advanced/README.md b/Assignments/Advanced/README.md deleted file mode 100644 index 547c723..0000000 --- a/Assignments/Advanced/README.md +++ /dev/null @@ -1,38 +0,0 @@ -# test-repo -This is a test repo, please fork me!!! \(^_^)/ -This repository contains a simple test on Java Lambdas and Git. -
- -Please follow the below mentioned instructions: - -1. Fork this repository -2. Clone the forked the repository to your machine -3. Create a new branch from the development branch -4. Create a new folder :file_folder: and name it ```Java``` -5. Go into the Java directory -6. Create a java file called Student - * Create a class Student - * Create the following fields and methods- - 1. String -> name [private] - 2. String -> rollNumber [private] - 3. String -> favoriteFruit [private] - 4. float -> height [private] - 5. float -> weight [private] - * Create getters and setters for these fields - * Create a argumented-constructor which takes in all the declared fields, and a no-arg constructor(default constructor) - * Create a driver class which contains a main method. - * Create a non-static method called ```studentConsumer()``` in the driver class. The method takes two in arguments, which are as follows: - 1. An ```ArrayList``` of students - 2. A ```Consumer``` functional interface - * Inside the method body write the logic to consume the students in present in the ```ArrayList``` - by making use of the ```accept(T t)``` method of the ```Consumer``` functional interface. - * Create an ArrayList of students and populate the list by taking input from the user. - * Call the ```studentConsumer()``` method inside the main thread, pass in the list of students and also write the logic to print the details of each student from the list. - * Once the program executes and displays the output, commit the file ```.java``` file only. -7. Now create a text file and write the name of your favorite fruit, song, and dessert. -8. Commit the text file as well. -9. Create a ```.gitignore``` file and add ```*.class``` entry into it. -10. Commit this file as well. -11. Finally, squash the last three commits into a single commit and send a pull request. - -:sparkles: Yay!! You're done. :sparkles: diff --git a/Assignments/Easy/README.md b/Assignments/Easy/README.md deleted file mode 100644 index 16f6f47..0000000 --- a/Assignments/Easy/README.md +++ /dev/null @@ -1,50 +0,0 @@ -# Beginner Java Assignment - -## Task 1 - -Please do the following and send the files as a pull request - - -1. Your task will be create a POJO. -1. Define two variables of any data type. -1. Initialize the variables through a parameterized constructor that takes in **both** the variables. -1. Create ```getter and setters``` for the two variables. -1. Override the ```toString()``` method of this class. - -:sparkles: ```Bonus :``` Create a new class with a ```main()``` method, create objects of the above class and print the objects on the console. - -## Task 2 - -Your task will be to simulate a **Grocery shop**. - -1. Create a ```Fruit``` class and two subclasses of the ```Fruit``` class. - 1. The ```Fruit``` class should contain the following variables - - 1. fruitName of type ```String``` - 1. price of type ```float``` - 1. Create a parameterized constructor which takes in both the variables and then also a default non-parameterized constructor. - 1. Override the ```toString()``` method. - 1. Create getters and setters for all the variables. -1. Create a ```Vegetable``` class and two subclasses of the ```Vegetable``` class. - 1. The ```Vegetable``` class should contain the following variables - - 1. vegetableName of type ```String``` - 1. price of type ```float``` - 1. Create a parameterized constructor which takes in both the variables and then also a default non-parameterized constructor. - 1. Override the ```toString()``` method. - 1. Create getters and setters for all the variables. -1. Create a ```FruitAndVeggeShop``` class which contains the following variables - - 1. ArrayList - 1. ArrayList -1. Create a parameterized constructor that takes in both the ArrayList's as arguments. -1. Create a method which prints all the fruits present in the ArrayList. -1. Create a method which prints all the vegetables present in the ArrayList. - -:sparkles: **Bonus:** Print all the fruits present in the ArrayList using the forEach() method by making use of a method reference. - -## Task 3 - -Complete the exercises present [here](https://www.hackerrank.com/domains/java) - -Also try completing [this](https://www.hackerrank.com/domains/tutorials/30-days-of-code) - -:sparkles: :sparkles: - -
\ No newline at end of file diff --git a/Assignments/README.md b/Assignments/README.md deleted file mode 100644 index 96c1c2c..0000000 --- a/Assignments/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# Java Assignments - -This folder will contain ```Java``` assignments. It will be updated soon with a lot more problems. :sparkles: diff --git a/class.MD b/class.MD new file mode 100644 index 0000000..821ce4c --- /dev/null +++ b/class.MD @@ -0,0 +1,5 @@ +Nebil + +Spain + +Meta Front-End Developer \ No newline at end of file