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 31!

    Java 多线程
    第 1 级, 课程 0
    You've reached new Level!
    可用
  • Operator precedence

    Java 多线程
    第 1 级, 课程 1
    Hi, Bilaabo! Bilaabo is happy to greet his friend! Today Bilaabo will tell you about operator precedence. But first he will tell you about the operators themselves. What are these operators you speak of? Actually, you're already familiar with them. You just might not have known they are called operators. For example, say we have the expression c = a + b; It has two operators: an addition operator and an assignment operator.
    可用
  • Practice with operator precedence

    Java 多线程
    第 1 级, 课程 2
    "Hi, Amigo! I came up with a couple of interesting tasks for you." "They can only be completed in IntelliJ IDEA. Take a look at these interesting conditions…"
    可用
  • All of the Object class's methods, plus more on the toString() method

    Java 多线程
    第 1 级, 课程 3
    "Oh, Rishi! Hi!" "Hi, Amigo! How's life?" "Great. Bilaabo has just been telling me a bunch of interesting things about File, and how to work with it." "As it happens, I think I have something to add on this topic." "Really? Then I'm all ears." "Okay, listen up. Java is constantly evolving. Its developers are constantly looking for new ways to do different things more efficiently. In Java 7, they added an alternative to the File class ..."
    可用
  • The equals & hashCode methods: why and where to use them, and how they work

    Java 多线程
    第 1 级, 课程 4
    "Now I'll tell you about some methods that are just as helpful: equals(Object o) & hashCode()." "You've probably already remembered that, in Java, when comparing reference variables the objects themselves aren't compared, but rather the references to the objects." "Yes, I remember that." The equals. "The equals method is the standard solution here ..."
    可用
  • Practice with equals and hashCode

    Java 多线程
    第 1 级, 课程 5
    "Hi, Amigo!" "Hi, Diego!" "Good old Diego has prepared several tasks for you:"
    可用
  • Introducing the wait, notify, and notifyAll methods

    Java 多线程
    第 1 级, 课程 6
    "Hi, Amigo!" "Hi, Rishi!" "I'm going to introduce you to the Object class's wait, notify, and notifyAll methods." "Today we'll just get acquainted with them, but we'll come back later and spend more time on this." "Okay." "These methods were invented as part of the thread synchronization mechanism." "Let me remind you that Java has a built-in mechanism for controlling access to shared resources (objects) from different threads ..."
    可用
  • The clone method and the Cloneable interface

    Java 多线程
    第 1 级, 课程 7
    "Hi, Amigo!" "Hi, Kim." "I'm going to tell you about the clone() method." "The point of this method is to clone an object, or in other words, to create a clone/copy/duplicate of the object." "When this method is called, the Java virtual machine creates and returns a duplicate of the object it is called on. The Object class's implementation of the clone method is very primitive: only one new object is created, and the values of the original object's ..."
    可用
  • Practice cloning

    Java 多线程
    第 1 级, 课程 8
    "Hi, Amigo!" "I just found a magazine from 2014. Can you imagine?" "And it has a set of cloning tasks that are older than dirt. Check it out:"
    可用
  • The finalize method, closeable interface, and try-with-resources statement (Java 7)

    Java 多线程
    第 1 级, 课程 9
    "Hi, Amigo!" "I just decided to discuss the finalize() method with you." "If you remember, finalize() is a special method that is called by an object before
the garbage collector destroys it." "This method's main purpose is to free up used external non-Java resources by closing files, I/O streams, and so on." "Unfortunately, this method doesn't live up to our expectations. The Java virtual machine can postpone destroying an object ..."
    可用
  • Practice releasing busy resources

    Java 多线程
    第 1 级, 课程 10
    "Hi, Amigo!" "I thought you had already figured out finalize." "That's what I thought. But now we have this try-with-resources statement." "Crap. I'm never going to finish learning Java at this rate. I think I understand everything, and then you show up!" "Don't fret like that—you'll rupture an oil line. Instead, figure out these tasks:"
    可用
  • The getClass() method, the Class object, and an introduction to Reflection

    Java 多线程
    第 1 级, 课程 11
    "Hi, Amigo!" "Now it's time for the main event. We'll get acquainted with the Class class and touch on Reflection. As you probably already realized, everything in Java is an object. And what does an object need? What does each object have that defines what it's all about?" "A class!" "Right! Well done. Each object has a class. But getting back to objects... Some objects entirely contain an entity, while others simply help manage it ..."
    可用
  • 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.