GithubHelp home page GithubHelp logo

acem-java-training's People

Contributors

pariyarkiran avatar laxmankhanal avatar madandhungana avatar abhishekpokhrel avatar bishalshr avatar xagarg avatar kabindra29 avatar

Watchers

James Cloos avatar kirannme avatar  avatar  avatar  avatar Anup Khanal avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

gogoopppa

acem-java-training's Issues

Write a hello world program

Write a hello world program which takes two argument
a. Salutation
b. Full Name and
c. Display SalutationFull Name in console.

Collections Operations

a. Create a linked list named one and two.
b. Add some elements to both one (one, two, three, four, five) and two (six, seven, eight, nine, and ten).
c. Merge the words from two into one.
d. Remove every second word from two.
e. Remove all words in two from one.
f. Print the value after each operation.

Small Java Core Application - Employee Management

The application should have the following features:

  1. Application will have two users: a. admin user b. normal user
  2. Admin user will have option to add/delete user
  3. Normal user can view/search employee
  4. admin user will be generated by the system by default
  5. admin user will add normal user

Entities:
User: id [primary key], username [unique key], password, isTerminated
Employee: Extends user, fullname, department, address, role['admin','user']

Functionalities: Admin User

  1. can add/delete/terminate user
  2. can view/search other employees: search by fullname, department, address. If not provided any value system will search and display all the employees
  3. delete user on the basis of fullname. If the full name matched then user will be delete from the system.
  4. terminate the user on the basis of fullname.

Functionalities: Normal User

  1. can view/search other employees: search by fullname, department, address. If not provided any value system will search and display all the employees
  2. edit their own information: selects which fields to edit and enter the value for respective field.

Both admin and normal user access the functionalities once they logged in otherwise they cannot do anything.

For login check for valid username, password and user is not terminated.

Collections Operations

Create an array list with 49 Integer objects containing the numbers 1 through 49. It then randomly shuffles the list and selects the first 6 values from the shuffled list. Finally, it sorts the selected values and prints them out. Hint: Use ArrayList, Collections.shuffle(), ArrayList.subList(), and Collection.sort().

Takes the words in its argument list and prints out any duplicate words, the number of distinct words, and a list of the words with duplicates eliminated. Hint: Try with HashSet and List implementation. Suppose you want to know which words in the argument list occur only once and which occur more than once, but you do not want any duplicates printed out repeatedly. This effect can be achieved by generating two sets one containing every word in the argument list and the other containing only the duplicates. The words that occur only once are the set difference of these two sets

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.