CodeGym
促销活动
CodeGym University
学习
课程
任务
调查和小测验
游戏
帮助
提醒时间表
社区
用户
论坛
聊天
文章
成功故事
活动
评论
订阅服务
浅色主题

课程

  • 评论
  • 关于我们
开始
开始学习
立即开始学习
  • 目标地图
  • 课程
全部目标 Java 语法 Java 核心 Java 多线程 Java 集合 JSP 和 Servlet Module 3. Java Professional Module 4. SQL & Hibernate Module 5. Spring
全部级别 级别 0 级别 1 级别 2 级别 3 级别 4 级别 5 级别 6 级别 7 级别 8 级别 9 级别 10 级别 11 级别 12 级别 13 级别 14 级别 15 级别 16 级别 17 级别 18 级别 19 级别 20 级别 21 级别 22 级别 23 级别 24 级别 25 级别 26 级别 27 级别 28
  • You've reached Level 25

    Java 多线程
    第 5 级, 课程 0
    You've reached Level 25
    可用
  • Enum and all its features

    Java 多线程
    第 5 级, 课程 1
    "Hi, Amigo!" "Hi, Amigo!" "I'm going to tell you about something very interesting. It's pretty simple, but that makes it even more interesting. It's called an enum. An enum is a type that defines the specific set of values that a variable can have. Let's look at an example right off ..."
    可用
  • Practice using enum

    Java 多线程
    第 5 级, 课程 2
    "Hi, Amigo!" "Bilaabo came up with a task for you. Enjoy, my friend ..."
    可用
  • Thread life cycle and thread states

    Java 多线程
    第 5 级, 课程 3
    "Hi, Amigo!" "We're going to start a new topic: threads." "Let's get started. Today we will examine the states that a Thread object passes through (or might pass through) when a thread is running." "How many states can you name right now, Amigo?" "Two. The first is a thread before the start() method is called: the object exists, but the thread isn't active yet. And the second is after the start() method has been called ..."
    可用
  • All the nuances of creating and starting a new thread. Daemons.

    Java 多线程
    第 5 级, 课程 4
    "Here's a new and interesting topic." "It turns out you can start threads in different modes." "A standard program (with only one thread) stops running when the main thread finishes its work. The main thread finishes executing, the program terminates, and the JVM frees its memory ..."
    可用
  • Practice with the current thread state

    Java 多线程
    第 5 级, 课程 5
    "Hi, Amigo! How are you feeling?" "Excellent. I learned so many new things today. Especially about thread states." "Oh, that's great. Here, let's test your knowledge ..."
    可用
  • All the nuances of interrupting/stopping threads

    Java 多线程
    第 5 级, 课程 6
    "Hi, Amigo! "Everything new is just something old that we've forgotten. Today I'll talk about stopping threads. I hope you've already forgotten how the interrupt() method works." "Yes, Ellie, I've completely forgotten it." "Great. Then I'll remind you." "In Java, if someone wants to stop a running thread, he can signal this to the thread. To do this, you need to set the Thread object's hidden isInterrupted variable to true ..."
    可用
  • Practice interrupting threads

    Java 多线程
    第 5 级, 课程 7
    "I was just waiting for you. There's so much interesting work for you here ..."
    可用
  • The call stack and catching errors

    Java 多线程
    第 5 级, 课程 8
    "Hi, Amigo! "I want to tell you about something small, but interesting." "I'm listening. I love things that are small and interesting." "Well, you know that every Thread object has a run() method. And that you can execute it on a separate thread using the start() method." "Yes, of course." "But now imagine this situation: you start a thread to perform some work, but an exception is thrown and the thread stops running ..."
    可用
  • Practice catching thread errors

    Java 多线程
    第 5 级, 课程 9
    "How come you always get exactly 3 tasks?" "How about doing another 50?" "50? O_o" "I guess it would be better to just do the usual 3 ..."
    可用
  • Other methods of the Thread class (sleep, yield…)

    Java 多线程
    第 5 级, 课程 10
    "Hi, Amigo!" "Now I'll tell you a little about the sleep, yield, and join methods." "That's boring. I just found an interview question: 'What's the difference between the yield(), sleep(), and wait() methods?'. Can you explain that?" "No problem. First off, these are three completely different methods ..."
    可用
  • Practice using yield and surrendering time slices

    Java 多线程
    第 5 级, 课程 11
    "Hi, Amigo! Keep practicing! Here are a couple of tasks for you ..."
    可用
  • 1
  • 2
了解
  • 注册
  • Java 课程
  • 任务帮助
  • 定价
  • 游戏项目
  • Java 语法
社区
  • 用户
  • 文章
  • 论坛
  • 聊天
  • 成功故事
  • 活动
公司
  • 关于我们
  • 联系方式
  • 评论
  • 新闻发布室
  • CodeGym 教育
  • 常见问题
  • 支持
CodeGym CodeGym 是一个从零开始学习 Java 语言编程的在线课程。本课程是初学者掌握 Java 语言的绝佳方式。它包含 1200 多个可即时验证的任务,以及基本范围内的 Java 基础理论。为了帮助你在教育上取得成功,我们实现了一组激励功能:小测验、编码项目以及有关高效学习和 Java 语言开发人员职业方面的内容。
关注我们
界面语言
程序员不是天生的 © 2023 CodeGym
MastercardVisa
程序员不是天生的 © 2023 CodeGym
This website uses cookies to provide you with personalized service. By using this website, you agree to our use of cookies. If you require more details, please read our Terms and Policy.