• Facebook
Java Teacher
  • HOME
  • GRADE 10 JAVA
  • GRADE 11 JAVA
  • GRADE 12 JAVA
  • RESOURCES
    • IEB Information Technology Tutor
    • Posters for Classrooms
    • GENERAL
Select Page

Gr11 – Array of objects

by Editorial | Nov 1, 2026 | Grade 11, Grade 11 - OOP, Grade 11 - Text Files

Coding in Java with the Scanner class. OOP – reading in a text file into an array of objects. Scenario: Renting a doggy pet for the weekend. Text file contains the dogs for rental with the fields separated by the delimiter. The whole process is broken down into...

Gr 11 – OOP, String, LocalTime, write to file

by Editorial | Feb 22, 2025 | Grade 11, Grade 11 - Date time, Grade 11 - Text Files, Teacher

 Asks for your full name and ID number. Determines the time right now. It reformats the name. It reformats the date of birth from the ID number. It determines the gender from the ID number. It creates a single output String which it prints to both the monitor and an...

Gr 11 – Write to text file

by Editorial | Sep 15, 2024 | Grade 11, Grade 11 - Text Files, Grade 12, Grade 12 - text files

A Java program to write to a text file using PrintWriter (not FileWriter). This program reads in a text file using Scanner – a date and a boolean flag. It adds 45 days to the date and compliments the flag (true to false and false to true) It then writes the new...

The split method

by Editorial | Sep 9, 2024 | Grade 11 - Text Files, Grade 12 - text files, PWC grade 11 - All

Reading in a text file into an array of objects using the split( ) method in Java. (There are other ways of doing this for example using useDelimiter( ) with next( ) ) Here is the text file using “#” as the delimiter. Note that there are no extra spaces or...

Gr 11 – GUIs 102

by Editorial | Sep 2, 2021 | Grade 11, Grade 11 - GUI, Grade 11 - Text Files, Grade 12 - PAT

The weather station project – Grade 11 This Java project is similar to the grade 10 project but a much higher level of sophistication is required – in how the four text files are read in for example. The grade 11 version uses 4 arrays which the grade 10...

Gr 11 – Reading in a text file

by Editorial | May 17, 2021 | Grade 11, Grade 11 - Text Files, Grade 12, Grade 12 - text files

Grade 11 –  Reading in a text file into an array or into parallel arrays (array sets). Without a delimiter and with a delimiter. Grade 12 – Reading in a text file into an array of objects GRADE 11 1) Reading in a simple text file using the Scanner class....
« Older Entries

Recent Posts

  • Gr11 – Array of objects
  • Gr 12 – UCanAccess
  • Gr 12 – Threads in Java
  • Gr11 – 12 Coding Dictionary
  • Gr 12 – Trace tables

GRADE 10

  • Gogga
  • Java Core
  • Critical algorithms
  • Flow Pseudo Trace
  • Theory
  • OOP
  • SQL
  • Exam memos
  • GUI

GRADE 11

  • Critical algorithms
  • String and Character Handling
  • Array and OOP
  • Theory
  • Text Files
  • Pseudocode
  • Networking
  • Date time
  • SQL
  • Exam memos
  • NetBeans
  • GUI
  • Debug

GRADE 12

  • Critical algorithms
  • Search and Sort
  • Java OOP
  • Inheritance
  • Text Files
  • Theory
  • Normalization
  • SQL
  • Networking
  • PAT
  • Cheat Sheets
  • Past Papers
  • Prelim Papers
  • Pseudocode Tracetables
  • Windows

SEARCH BY CATEGORY

  • PRIVATE ONLINE TUITION
  • PARTNER WITH US
  • DISCLAIMER
  • Facebook
Java Teacher - Steve Eilertsen \ DESIGNED BY ELEMENTAL ONLINE