017-004-003

Interface Extension: Shape Drawing

Medium

Problem Description

Interface Extension: Shape Drawing

Learning Objective: Extend interface by inheriting from another interface

Extend basic drawing interface to add colored drawing functionality.

Input

Line 1: Shape name
Line 2: Color name

Output

Drawing: [shape]
Color: [color]
```java

## Example

Input:
```java
Circle
Red
```java
Output:
```java
Drawing: Circle
Color: Red

Test Cases

※ Output examples follow programming industry standards

Input:
Circle
Red
Expected Output:
Drawing: Circle
Color: Red
Input:
Square
Blue
Expected Output:
Drawing: Square
Color: Blue
❌ Some tests failed
❌ エラー発生

Your Solution

Current Mode: My Code
import java.util.Scanner;

public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
// Write your code here

sc.close();
}
}
0 B / 5 MB

You have 9 free executions remaining