נבנה על ידיBuilt by Ariel Yohimovich

JavaJava

הזירהThe Arena

כאן מתאמנים בלי לחץ של מפגש: מסע עם שומרי תחנות, מבחני תרגול עם מחוון, משחקים קצרים ואתגר יומי. הכול נשמר בדפדפן ונספר ב-XP.

Practice without a session's pressure: a quest with station keepers, practice exams with a rubric, short games and a daily challenge. Everything is saved in your browser and counts toward XP.

האתגר היומיToday's challenge

תרגיל אחד ביום, אותו תרגיל לכולם. פתרון מזכה ב-30 XP בונוס ושומר על הרצף.One exercise a day, the same for everyone. Solving it earns a 30 XP bonus and keeps your streak.

לאתגר של היוםGo to today's challenge

המסע: קו הלילהThe quest: the night line

למסעOpen the quest

שש תחנות, שלוש משימות בכל אחת, ושומר תחנה שצריך לנצח כדי להמשיך. התחנה האחרונה היא מגדל ה-Threads. תחנה שהשומר שלה נוצח נצבעת.Six stops, three tasks at each, and a station keeper to beat before moving on. The last stop is the Threads tower. A stop whose keeper you beat gets coloured in.

  1. תחנה 1: רציף המשתניםStop 1: Variables Platform
  2. תחנה 2: צומת המתודותStop 2: Methods Junction
  3. תחנה 3: מחסן העצמיםStop 3: The Object Depot
  4. תחנה 4: גשר הממשקיםStop 4: Interface Bridge
  5. תחנה 5: מרכז הבקרהStop 5: Control Center
  6. תחנה 6: מגדל ה-ThreadsStop 6: The Threads Tower

מבחני תרגולPractice exams

לכל המבחניםAll exams
מבחן 1: יסודותExam 1: Foundationsמשתנים, טיפוסים, מחרוזות, תנאים, לולאות וקלטVariables, types, strings, conditions, loops and inputמבחן 2: מתודות ומערכיםExam 2: Methods and arraysמתודות, pass-by-value, מערכים, ArrayList, static וחריגותMethods, pass-by-value, arrays, ArrayList, static and exceptionsמבחן 3: OOP, היסודותExam 3: OOP basicsמחלקות ועצמים, בנאים, encapsulation, static ו-final, equals ו-hashCodeClasses and objects, constructors, encapsulation, static and final, equals and hashCodeמבחן 4: OOP מתקדםExam 4: Advanced OOPירושה, ממשקים, פולימורפיזם, Generics, records, sealed ו-pattern matchingInheritance, interfaces, polymorphism, generics, records, sealed types and pattern matchingמבחן 5: Java מודרניתExam 5: Modern JavaCollections, lambdas, Streams, Optional, חריגות וקבציםCollections, lambdas, streams, Optional, exceptions and filesמבחן 6: מקביליות ו-ThreadsExam 6: Concurrency and threadsThreads, race conditions, synchronized, Atomic, ExecutorService, BlockingQueue ו-deadlockThreads, race conditions, synchronized, atomics, ExecutorService, BlockingQueue and deadlockמבחן 7: Java בעולם האמיתיExam 7: Java in the real worldאלגוריתמים, HTTP, מסדי נתונים ושכבות של שרתAlgorithms, HTTP, databases and server layersמבחן 8: משחקיםExam 8: Gamesלולאת משחק, delta time, התנגשויות, מצבים ו-EDTThe game loop, delta time, collisions, states and the EDT
כרטיסיותFlashcardsכל מונח בקורס: צד אחד המונח, השני ההגדרה. סמנו מה ידעתם.Every term in the course: one side the term, the other its meaning. Mark what you knew.חידון מהירותSpeed quiz60 שניות, כמה שיותר תשובות נכונות. טעות מורידה 3 שניות.60 seconds, as many right answers as you can. A wrong answer costs 3 seconds.מצאו את הבאגFind the bugקוד אמיתי שנכשל: לחצו על השורה ש-javac מתלונן עליה, או שבה Java עצרה.Real code that fails: click the line javac complains about, or where Java stopped.מה יודפס?What will it print?קראו את הגוף של main וכתבו את הפלט בדיוק. הפלט נלקח מהרצה אמיתית.Read the body of main and type the exact output. The output comes from a real run.גולף קודCode golfמתודה אחת, כמה שפחות תווים. מריצים את תוכנית הבדיקה ב-IntelliJ ומדביקים את התוצאה.One method, as few characters as possible. Run the test program in IntelliJ and paste the result.השלימו את השורהComplete the lineשורה אחת חסרה. בחרו את השורה שמחזירה את הפלט המקורי.One line is missing. Pick the line that gives the original output.סדרו את הקודPut the code in orderשורות פתרון אמיתי התערבבו. סדרו אותן מחדש.The lines of a real solution got shuffled. Put them back in order.בריחה מהטרמינלTerminal escapeנתקעתם בשרת. בעזרת ls, cd, cat ו-java מצאו את הסיסמה וצאו.You're stuck on a server. Use ls, cd, cat and java to find the password and get out.מרוץ ה-ThreadsThread Raceכמה threads רצים יחד. תמיד נכון, יכול לטעות, או יכול להיתקע? ואז מריצים 200 פעמים ובודקים.Several threads run together. Always correct, can go wrong, or can get stuck? Then run it 200 times and see.

נבנה על ידיBuilt by Ariel Yohimovich