Git Product home page Git Product logo

Anastasiia's Projects

threadpriority icon threadpriority

Create 2 classes PriorityRunner and PriorityThread. Start 3 threads with priorities (min, max, norm). With the help of the for loop, we will display values from 1 to 50 on the screen and indicate which thread is doing this operation.

threadsleep icon threadsleep

Create three threads, start each of these threads (for example: main, second, first), and when these threads work successfully - display a message on the screen (completion then first, second and main).

tostringoverride icon tostringoverride

*Object* Create Super class Device, Subclasses Monitor and EthernetAdapter. Override the toString method so that the output is as follows: Device: manufacturer = Samsung, price = 120, serialNumber=AB1234567CD, X=1280,Y=1024.

vehiclesusingenum icon vehiclesusingenum

*Enum* Create an enum Vehicles that contains a constructor that should take an value, a method getColor() that returns a string with the color of the vehicle, and an overloaded method toString() that should return a string with the name of the instance , color and cost of the car

vehicleusinginheritance icon vehicleusinginheritance

*Inheritance* Write a program that prints to the console information about each vehicle: plane, ship and car

workerwithexception icon workerwithexception

*Exceptions* Write a program: 1. entering data from the keyboard into an array; 2. if the year value is not entered in the appropriate format, throws an exception; 3. displaying on the screen the name of the employee whose length of service exceeds the entered value

xmlprintinsidetag icon xmlprintinsidetag

Using file manipulation, output not all the contents of the XML document, but only what is inside the tag.

xsltransformer icon xsltransformer

Define a method that transforms the developed XML document into the document specified in each job.

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.