+ 1

implement bounded types (extend super class) with generics

Create a class shape with method area() create circle and square which extends class shape. create a generic class boundedshape that extends shape. and implement the generics and use area function accordingly

2nd Jan 2022, 11:36 AM
Priyanka Singh
Priyanka Singh - avatar
1 Respuesta
+ 2
Learn generics class methods interface inheritance To achieve your task
16th Jan 2022, 10:28 AM
A͢J
A͢J - avatar
En tendencia hoy
.
1 Votes
What?
0 Votes
HTML
0 Votes
Web
0 Votes
Quiz duel
0 Votes
FRC Coding?
1 Votes
AI
2 Votes
help
0 Votes
APIs
1 Votes