3.2: Having active code to show type casting

Open Beginner friendly
#188 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
64/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
java

Research direction

Locate the type-casting section referenced in the issue and inspect how its current example is presented. Update the example to show the value before and after casting, display its type, and demonstrate the error for an invalid implicit cast; done means the rendered lesson clearly shows these results.

Written by the indexing model from the issue text.

Description

Is your feature request related to a problem? Please describe.
I would like to see type casting shown before and after the type casting, and the error that would appear if tried to do implicit when explicit is needed

Describe the solution you'd like
i think in this section, if it was active code and it showed the data type using text.getClass().getSimpleName() just to show that it changed

Additional context

Image
Dominant language
Python
Stars
28
Forks
42
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from RunestoneInteractive/java4python

All issues in RunestoneInteractive/java4python

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.